drm: Swap w/h when converting the mode to src coordidates for a rotated primary plane
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 15 Oct 2015 17:39:59 +0000 (20:39 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 19 Oct 2015 09:00:46 +0000 (11:00 +0200)
commit41121248600f7f8c2a97b256bd9bcec436392a53
treed876995d30607816676dd4a8c9bc2f6c861ca26b
parentc390eed025dbbd09fff6cf128fb4eee83c9008a3
drm: Swap w/h when converting the mode to src coordidates for a rotated primary plane

When converting the mode hdisplay/vdisplay to primary plane src
coordinates we need to take into account the current plane
rotation.

Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1444930802-8515-2-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic_helper.c