[PATCH 0/4] drm/amd/display: add cursor plane checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series adds checks for all cursor plane properties. This avoids
accepting configurations that we won't be able to display.

I've tested this series against various scenarios using a hacked up
wlroots [1].

[1]: https://github.com/emersion/wlroots/commits/amdgpu-cursor-invalid

Simon Ser (4):
  drm/amd/display: add cursor FB size check
  drm/amd/display: disallow cropping for cursor plane
  drm/amd/display: check cursor scaling
  drm/amd/display: don't expose rotation prop for cursor plane

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 81 +++++++++++++++++--
 1 file changed, 75 insertions(+), 6 deletions(-)

-- 
2.29.2


_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux