Skip to content

NV12 rotation GTT handling prep work

Tvrtko Ursulin intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915: Support planar formats in tile height calculationsdrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_sprite.c+7 -71 reply
2/4drm/i915: Support appending to the rotated pages mappingdrivers/gpu/drm/i915/i915_gem_gtt.c+13 -81 reply
3/4drm/i915: Support NV12 in rotated GGTT mappingdrivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/i915_gem_gtt.h drivers/gpu/drm/i915/intel_display.c+46 -67 replies
4/4drm/i915: Enable querying offset of UV plane with intel_plane_obj_offsetdrivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/i915_gem_gtt.h drivers/gpu/drm/i915/intel_display.c +2 more+28 -71 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJoonas Lahtinen
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] NV12 rotation GTT handling prep work

From: Tvrtko Ursulin <[email protected]>

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(-)
Signature · 6 lines
2.5.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx