On Mon, Sep 21, 2015 at 10:45:31AM +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > > 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. BTW I started to hatch something to uswe intel_gen4_compute_page_offset() on SKL+, and also start to handle fb offsets[0] somehow. I didn't get too far yet, but I figured I'll post a reference here in case people are intersted in this sort of stuff: git://github.com/vsyrjala/linux.git tile_size > > 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 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx