summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_atomic_plane.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-11-14 19:53:58 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2016-11-14 20:57:42 +0300
commitf22aa14352cc6f40fdb81cdb2e4f4f9d75613a37 (patch)
tree02d47d890733b45ec600efc322bbe214cdf42419 /drivers/gpu/drm/i915/intel_atomic_plane.c
parent5697d60f6e56f90e191d00579307eba044d061a4 (diff)
downloadlinux-f22aa14352cc6f40fdb81cdb2e4f4f9d75613a37.tar.xz
drm/i915: Use & instead if == to check for rotations
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. v2: Drop the BIT() Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1479142440-25283-2-git-send-email-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_atomic_plane.c')
0 files changed, 0 insertions, 0 deletions