drm/i915/skl: Swapping 90 and 270 to be compliant with Xrandr
authorSonika Jindal <sonika.jindal@intel.com>
Wed, 20 May 2015 08:10:48 +0000 (13:40 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 May 2015 09:26:12 +0000 (11:26 +0200)
commit1e8df16778b0d8fd8102b3ee799b028f8f961089
tree71fa5d8d4f64f0ca3fdcdd8af3b32a7196be09a8
parent7546a38411fc3eb9e0ff1252718b0bf6579c87f6
drm/i915/skl: Swapping 90 and 270 to be compliant with Xrandr

Since DRM_ROTATE is counter clockwise (which is compliant with Xrandr),
and HW rotation is clockwise, swapping 90/270 to work as expected from
userspace.

v2: Rebased

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c