]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: disallow cropping for cursor plane
authorSimon Ser <contact@emersion.fr>
Fri, 20 Nov 2020 20:18:57 +0000 (20:18 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2020 17:09:52 +0000 (12:09 -0500)
commitf36e8018011339489482854ecf81a993eb3ed8d5
treec8b909dc5723549cbaa455b5d9d971db9840fb1f
parent588432f0175ba32bd45c9f03184a67fdb8749ef7
drm/amd/display: disallow cropping for cursor plane

Looking at handle_cursor_update, it doesn't seem like src_{x,y,w,h}
are picked up by DC. I also tried to change these parameters via a
test KMS client, and amdgpu ignored them. Instead of displaying the
wrong result, reject the atomic commit.

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