[PATCH 0/2] drm/amd/display: add cursor pitch check

Simon Ser contact at emersion.fr
Wed Dec 2 21:09:00 UTC 2020


We were checking the FB width/height, but were not checking its pitch.

This has been tested by running Sway.

Simon Ser (2):
  drm/amd/display: use FB pitch to fill dc_cursor_attributes
  drm/amd/display: add cursor pitch check

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 21 ++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

-- 
2.29.2




More information about the amd-gfx mailing list