From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> First attempt at rotated GGTT mapping for the NV12 format. It compiles and even does not crash on first use. But some parts are probably too simplistic at the moment and need further polish. Sending out early since Chandra needs this to complete his display programming patches. Depends on Chandra's NV12 patch series. Tvrtko Ursulin (8): drm/i915: Remove duplicated intel_tile_height declaration drm/i915: Support planar formats in tile height calculations drm/i915: Remove pointless calculation in intel_rotate_fb_obj_pages drm/i915: Extract tiled geometry calculation into a helper function 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 drm/i915: Allow NV12 with 90/270 rotation drivers/gpu/drm/i915/i915_gem_gtt.c | 96 +++++++++++++++++++++++-------- drivers/gpu/drm/i915/i915_gem_gtt.h | 3 + drivers/gpu/drm/i915/intel_atomic_plane.c | 3 +- drivers/gpu/drm/i915/intel_display.c | 36 +++++++++--- drivers/gpu/drm/i915/intel_drv.h | 8 +-- drivers/gpu/drm/i915/intel_sprite.c | 4 +- 6 files changed, 109 insertions(+), 41 deletions(-) -- 2.4.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx