]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Explicitly disable cursor when disabling CRTC
authorVictor Lu <victorchengchi.lu@amd.com>
Fri, 23 Oct 2020 17:38:58 +0000 (13:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Nov 2020 19:25:45 +0000 (14:25 -0500)
commit958e578f9d7fa461deaa66076c115ae10059c9d5
tree1ddb5e56ba51157542f215a03b79f6f665ec51cf
parent700c527a2c15f162b6e81db51d1afcb439efa94f
drm/amd/display: Explicitly disable cursor when disabling CRTC

[why]
On DCE, the cursor is not being disabled on commits where there is no
CRTC or FB enabled.

[how]
Explicitly disable the cursor in the commit tail only if the pending
commit disables the CRTC.

Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c