drm/i915/skl: Support for 90/270 rotation
authorSonika Jindal <sonika.jindal@intel.com>
Fri, 10 Apr 2015 09:07:29 +0000 (14:37 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Apr 2015 14:16:39 +0000 (16:16 +0200)
commit3b7a5119b5d2def1161226a4c6a643db537dff7e
treeb67e2990252cc69267228b666af761d8615a97f7
parentd81063669a99b216eb6b9dfb17add4f38a839674
drm/i915/skl: Support for 90/270 rotation

v2: Moving creation of property in a function, checking for 90/270
rotation simultaneously (Chris)
Letting primary plane to be positioned
v3: Adding if/else for 90/270 and rest params programming, adding check for
pixel_format, some cleanup (review comments)
v4: Adding right pixel_formats, using src_* params instead of crtc_* for offset
and size programming (Ville)
v5: Rebased on -nightly and Tvrtko's series for gtt remapping.
v6: Rebased on -nightly (Tvrtko's series merged)
v7: Moving pixel_format check to intel_atomic_plane_check (Matt)

Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_atomic_plane.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c