[Intel-gfx] [PATCH 0/4] NV12 rotation GTT handling prep work

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Mon Sep 21 02:45:31 PDT 2015


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

GTT page remapping logic for 90/270 rotation needs some
extensions to support NV12 90/270 rotation work which is
currently underway.

Main thing is really to support building of the rotated
page mapping from two planes instead of one, and adding
appropriate calculations for the half-height UV plane
geometry.

Those are stored in the existing rotation info data
associated with the rotated view and are also used to
return the appropriate plane start address when queried
from the display code.

Tvrtko Ursulin (4):
  drm/i915: Support planar formats in tile height calculations
  drm/i915: Support appending to the rotated pages mapping
  drm/i915: Support NV12 in rotated GGTT mapping
  drm/i915: Enable querying offset of UV plane with
    intel_plane_obj_offset

 drivers/gpu/drm/i915/i915_gem_gtt.c  | 58 ++++++++++++++++++++++++++++--------
 drivers/gpu/drm/i915/i915_gem_gtt.h  |  4 +++
 drivers/gpu/drm/i915/intel_display.c | 48 ++++++++++++++++++++++-------
 drivers/gpu/drm/i915/intel_drv.h     |  6 ++--
 drivers/gpu/drm/i915/intel_sprite.c  |  4 +--
 5 files changed, 93 insertions(+), 27 deletions(-)

-- 
2.5.1



More information about the Intel-gfx mailing list