From: Matt Roper Date: Thu, 22 Jan 2015 00:35:41 +0000 (-0800) Subject: drm/i915: Move rotation from intel_plane to drm_plane_state X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~75^2~8^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e7d688b7a8316d514d2fe311b4ef8d6ac091f2d;p=pandora-kernel.git drm/i915: Move rotation from intel_plane to drm_plane_state Runtime state that can be manipulated via properties should now go in intel_plane_state/drm_plane_state so that it can be tracked as part of an atomic transaction. We add a new 'intel_create_plane_state' function so that the proper initial value for this property (and future properties) doesn't have to be repeated at each plane initialization site. v2: - Stick rotation in common drm_plane_state rather than intel_plane_state. (Daniel) - Add intel_create_plane_state() to consolidate the places where we have to set initial state values. (Ander) Signed-off-by: Matt Roper Reviewed-by: Ander Conselvan de Oliveira Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed