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

Simon Ser contact at emersion.fr
Fri Nov 20 20:18:50 UTC 2020


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




More information about the amd-gfx mailing list