[PATCH] drm/atomic: Don't reject reflect-only rotations

Gustavo Padovan gustavo at padovan.org
Wed Dec 7 13:20:47 UTC 2016


Hi Brian,

2016-12-07 Brian Starkey <brian.starkey at arm.com>:

> The check to reject combinations of multiple rotation angles is overly
> restrictive and has the side-effect of also failing any rotation value
> which consists only of reflections.
> 
> Fix this by relaxing the check to ignore values which contain no
> rotation flags.
> 
> Fixes: 6e0c7c3358d4 ("drm/atomic: Reject attempts to use multiple rotation angles at once")
> Signed-off-by: Brian Starkey <brian.starkey at arm.com>
> ---
>  drivers/gpu/drm/drm_atomic.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>

Gustavo



More information about the dri-devel mailing list