]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: don't expose rotation prop for cursor plane
authorSimon Ser <contact@emersion.fr>
Fri, 20 Nov 2020 20:19:00 +0000 (20:19 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2020 17:09:52 +0000 (12:09 -0500)
commit7cde1b6b6330e00a008164401a4c533bf3929097
tree8c77c99eb8084522661cc84760c1c393256c7ea6
parent38ddbb3fa341e8baf942b3aebd62040ecbcb28b4
drm/amd/display: don't expose rotation prop for cursor plane

Setting any rotation on the cursor plane is ignored by amdgpu.
Because of DCE/DCN design, it's not possible to rotate the cursor.
Instead of displaying the wrong result, stop advertising the rotation
property for the cursor plane.

Now that we check all cursor plane properties in amdgpu_dm_atomic_check,
remove the TODO.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Harry Wentland <hwentlan@amd.com>
Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c