]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Set native cursor mode for disabled CRTCs
authorTimur Kristóf <timur.kristof@gmail.com>
Sat, 11 Jul 2026 11:34:35 +0000 (13:34 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Jul 2026 21:39:52 +0000 (17:39 -0400)
commitcea54c52d82dd9948126b7518af51ca1de094933
tree7d2475670a4665c1b4374acae35c61b7b7c2e632
parent85371c5ef502d10add72eab38711e191dccea981
drm/amd/display: Set native cursor mode for disabled CRTCs

Always set native cursor mode when the CRTC is disabled,
to make sure it doesn't cause atomic commits to fail when
they are trying to disable the CRTC.

Fixes: 41af6215cdbc ("drm/amd/display: Reject cursor plane on DCE when scaled differently than primary")
Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/5432
Cc: Leo Li <sunpeng.li@amd.com>
Cc: Michel Dänzer <michel.daenzer@mailbox.org>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Tested-by: Viktor Jägersküpper <viktor_jaegerskuepper@freenet.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 2f79f0130f828cf26fe2dcf45291821616af7b47)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c