summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_modes.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-09-26 19:30:56 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-10-21 18:27:20 +0200
commit93ca7e00667063a8dc86f04373e85e89a09efef4 (patch)
treefcd2b63ea328bef2e92c3e87924f33ca3ad4bf05 /drivers/gpu/drm/drm_modes.c
parent0da88db14034e8b309f1c4188123ca1a02f4b354 (diff)
drm/i915: Use the per-plane rotation property
On certain platforms not all planes support the same set of rotations/reflections, so let's use the per-plane property for this. This is already a problem on SKL when we use the legay cursor plane as it only supports 0|180 whereas the universal planes support 0|90|180|270, and it will be a problem on CHV soon. v2: Use drm_plane_create_rotation_property() helper v3: Drop the BIT(), use INTEL_GEN() Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v1) Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1474907460-10717-12-git-send-email-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_modes.c')
0 files changed, 0 insertions, 0 deletions