summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-03-30 12:23:21 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-05-07 23:24:45 +0300
commite133020f92b9397eaad83ff1dada6d9786edcbd0 (patch)
treea69f9f46e3dc53545272eab9a2005477ee8f98cd /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentb931e199f16e1e29cb1728e8aa9d27b9f8978cb1 (diff)
downloadlinux-e133020f92b9397eaad83ff1dada6d9786edcbd0.tar.xz
drm/amd/display: add basic atomic check for cursor plane
This patch adds a basic cursor check when an atomic test-only commit is performed. The position and size of the cursor plane is checked. This should fix user-space relying on atomic checks to assign buffers to planes. Signed-off-by: Simon Ser <contact@emersion.fr> Reported-by: Roman Gilg <subdiff@gmail.com> References: https://github.com/emersion/libliftoff/issues/46 Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Harry Wentland <hwentlan@amd.com> Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions