[Intel-gfx] [PATCH v3 00/21] drm/i915: Handle fb->offsets[] and rewrite fb rotation handling to be more generic (v3)

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Mon Feb 15 20:54:38 UTC 2016


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Another iteration of the fb offset stuff. Unfortunately this seems
to be one of those things that just keeps on growing when you're
not looking. But I'm hoping we're starting to approach the limit.

Changes from the last time [1]:
* split the chrome plane vma size fix from one of the other patches
* shuffling the bytes vs. pixels vs. tiles stuff around
* extracted a few more pieces of common code
* deal with fence vs. fb offset alignment better
* deal with SKL X-tile fail
* add preliminary NV12 AUX_DIST handling
* possible something else I've forgotten

I also have a few testcases lying around somewhere, but I'll need to
clean those up somewhat before I post them.

Entire lot (+ a few extras on top) available here:
git://github.com/vsyrjala/linux.git fb_offsets_14

[1] https://lists.freedesktop.org/archives/intel-gfx/2016-January/085802.html

Ville Syrjälä (21):
  drm/i915: Account for the size of the chroma plane for the rotated gtt
    view
  drm/i915: s/tile_width/tile_width_bytes/
  drm/i915: Pass 90/270 vs. 0/180 rotation info for
    intel_gen4_compute_page_offset()
  drm/i915: Support for extra alignment for tiled surfaces
  drm/i915: Don't pass plane+plane_state to intel_pin_and_fence_fb_obj()
  drm/i915: Pass drm_frambuffer to intel_compute_page_offset()
  drm/i915: Reorganize intel_rotation_info
  drm/i915: Move the NULL sg handling out from rotate_pages()
  drm/i915: Embed rotation_info under intel_framebuffer
  drm/i915: Rewrite fb rotation GTT handling
  drm/i915: Don't pass pitch to intel_compute_page_offset()
  drm/i915: Move SKL hw stride calculation into a helper
  drm/i915: Pass around plane_state instead of fb+rotation
  drm/i915: Use fb modifiers for display tiling decisions
  drm/i915: Adjust obj tiling vs. fb modifier rules
  drm/i915: Limit fb x offset due to fences
  drm/i915: Allow calling intel_adjust_tile_offset() multiple times
  drm/i915: Make intel_adjust_tile_offset() work for linear buffers
  drm/i915: Compute display surface offset in the plane check hook for
    SKL+
  drm/i915: Deal with NV12 CbCr plane AUX surface on SKL+
  drm/i915: Make sure fb offset is (macro)pixel aligned

 drivers/gpu/drm/i915/i915_gem_gtt.c  |  64 +--
 drivers/gpu/drm/i915/i915_gem_gtt.h  |  14 +-
 drivers/gpu/drm/i915/intel_display.c | 924 +++++++++++++++++++++++++++--------
 drivers/gpu/drm/i915/intel_drv.h     |  44 +-
 drivers/gpu/drm/i915/intel_fbdev.c   |   2 +-
 drivers/gpu/drm/i915/intel_sprite.c  | 126 ++---
 6 files changed, 812 insertions(+), 362 deletions(-)

-- 
2.4.10



More information about the Intel-gfx mailing list