]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: drop cursor position check in atomic test
authorSimon Ser <contact@emersion.fr>
Sat, 23 May 2020 11:53:41 +0000 (11:53 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2020 22:12:32 +0000 (18:12 -0400)
commit0f4b37b219b78ec3d1aafce011cc7fed54843db8
tree6dcbb648fa130594260c1c920161297beaf960fa
parent0c1541f5444911d9d3d17c22990a482eee678f55
drm/amd/display: drop cursor position check in atomic test

get_cursor_position already handles the case where the cursor has
negative off-screen coordinates by not setting
dc_cursor_position.enabled.

Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes: 3cc2ad5499a0 ("drm/amd/display: add basic atomic check for cursor plane")
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c