[Intel-gfx] [PATCH 5/7] drm/i915: Use & instead if == to check for rotations

Chris Wilson chris at chris-wilson.co.uk
Wed Jul 20 13:35:03 UTC 2016


On Wed, Jul 20, 2016 at 04:18:10PM +0300, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Using == to check for 180 degree rotation only works as long as the
> reflection bits aren't set. That will change soon enough for CHV, so
> let's stop doing things the wrong way.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list