[Intel-gfx] [PATCH v5 0/7] Skylake 90/270 display rotation
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Mon Mar 23 04:10:31 PDT 2015
From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
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
v4:
* Rebased for ggtt view API changes.
v5:
* Addressing review comments.
* Added R-B tags.
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 | 14 +++-
drivers/gpu/drm/i915/i915_gem.c | 22 +++--
drivers/gpu/drm/i915/i915_gem_gtt.c | 117 +++++++++++++++++++++++++-
drivers/gpu/drm/i915/i915_gem_gtt.h | 12 +++
drivers/gpu/drm/i915/intel_display.c | 158 +++++++++++++++++++++++++++--------
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, 320 insertions(+), 61 deletions(-)
--
2.3.2
More information about the Intel-gfx
mailing list