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

Alex Deucher alexdeucher at gmail.com
Fri Nov 20 20:53:58 UTC 2020


On Fri, Nov 20, 2020 at 3:19 PM Simon Ser <contact at emersion.fr> wrote:
>
> 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

Series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

>
> 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list