]> 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)
commit5a1b62ab06936546a7bb8b5622359084ada456b5
tree1ddb5e56ba51157542f215a03b79f6f665ec51cf
parent4fb3456b56d500e5b6fddc53e4eed5a1eae2a8c8
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