[Intel-gfx] [PATCH] sna: Fix the reduction of xy reflection onto rotations.
Chris Wilson
chris at chris-wilson.co.uk
Fri Aug 14 01:18:37 PDT 2015
On Thu, Aug 13, 2015 at 04:51:37PM -0700, Bob Paauwe wrote:
> When reducing a xy reflection to a 180 degree rotation, make sure
> only one rotation bit is set. Also by rotating the bit left, we
> can support cases where xy reflection happens with 90/270 degree
> rotation.
>
> Signed-off-by: Bob Paauwe <bob.j.paauwe at intel.com>
Nice. Took me a few moments to verify the shifting works as expected, so
I left a couple of comments there for my future self.
Thanks, pushed
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list