From: Rob Clark Date: Tue, 4 Sep 2012 16:35:56 +0000 (+0000) Subject: drm: support for rotated scanout X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c80e128429d639742043f8fbdd7f1551c940ea3;p=pandora-kernel.git drm: support for rotated scanout For drivers that can support rotated scanout, the extra parameter checking in drm-core, while nice, tends to get confused. To solve this drivers can set the crtc or plane invert_dimensions field so that the dimension checking takes into account the rotation that the driver is performing. v1: original v2: remove invert_dimensions from plane, at Ville's suggestion. Userspace can give rotated src coordinates, so invert_dimensions is not required for planes. Signed-off-by: Rob Clark Reviewed-by: Ville Syrjälä Signed-off-by: Dave Airlie --- Reading git-diff-tree failed