[Intel-gfx] [PATCH v2 0/8] Skylake 90/270 display rotation
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Tue Mar 3 06:22:30 PST 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 that - display programming patches are missing
from this initial posting because for now the only purpose is to see if people
now like the approach I have taken.
v2:
* Individual review comments.
* Main patch split into four smaller ones.
Tvrtko Ursulin (8):
drm: Pass in new and old plane state to prepare_fb and cleanup_fb
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/drm_atomic_helper.c | 13 +-
drivers/gpu/drm/drm_plane_helper.c | 5 +-
drivers/gpu/drm/i915/i915_drv.h | 40 ++++-
drivers/gpu/drm/i915/i915_gem.c | 31 ++--
drivers/gpu/drm/i915/i915_gem_gtt.c | 14 +-
drivers/gpu/drm/i915/i915_gem_gtt.h | 12 ++
drivers/gpu/drm/i915/intel_display.c | 246 ++++++++++++++++++++++++++----
drivers/gpu/drm/i915/intel_drv.h | 22 ++-
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 +-
drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c | 6 +-
drivers/gpu/drm/tegra/dc.c | 6 +-
include/drm/drm_plane_helper.h | 6 +-
15 files changed, 367 insertions(+), 67 deletions(-)
--
2.3.0
More information about the Intel-gfx
mailing list