[PATCH v3 0/7] Skylake 90/270 display rotation

Tvrtko Ursulin
2015-03-05T14:07:59Z

Display engine on Skylake can scan out specially prepared frame buffers
rotated by 90 or 270 degrees.

This adds partial support for this and will need some patches from Sonika to
complete the feature.

Going by "looking pretty" comment by Daniel Vetter (on IRC) I think this is now
ready for detailed review.

v2:
* Individual review comments.
* Main patch split into four smaller ones.

v3:
* Dropped the DRM core patch since it has been merged.
* Refactored tile height helper a bit.
* Moved rotated GGTT view code into i915_gem_gtt.c

Tvrtko Ursulin (7):
drm/i915/skl: Extract tile height code into a helper function
drm/i915: Use GGTT view when (un)pinning objects to planes
drm/i915: Pass in plane state when (un)pinning frame buffers
drm/i915: Helper function to determine GGTT view from plane state
drm/i915/skl: Support secondary (rotated) frame buffer mapping
drm/i915/skl: Query display address through a wrapper
drm/i915/skl: Take 90/270 rotation into account in watermark
calculations

drivers/gpu/drm/i915/i915_drv.h | 40 ++++++++-
drivers/gpu/drm/i915/i915_gem.c | 31 ++++---
drivers/gpu/drm/i915/i915_gem_gtt.c | 116 ++++++++++++++++++++++++-
drivers/gpu/drm/i915/i915_gem_gtt.h | 12 +++
drivers/gpu/drm/i915/intel_display.c | 160 +++++++++++++++++++++++++++--------
drivers/gpu/drm/i915/intel_drv.h | 25 +++++-
drivers/gpu/drm/i915/intel_fbdev.c | 2 +-
drivers/gpu/drm/i915/intel_overlay.c | 3 +-
drivers/gpu/drm/i915/intel_pm.c | 18 +++-
drivers/gpu/drm/i915/intel_sprite.c | 10 +--
10 files changed, 353 insertions(+), 64 deletions(-)