[PATCH v4 00/12] drm/i915: Handle fb->offsets[] and rewrite fb rotation handling to be more generic (v4)

ville.syrjala
2016-05-03T15:40:07Z

Here's a repost of the remainder of my fb->offsets[] stuff. Previous posting was
[1], part of which was merged already.

No major changes, just left the upper_32_bits()/lower_32_bits() part intact
for the gtt offset handling, and rebased whatever needed rebasing.

The whole thing (+ extra patch [2] for drm plane helper needed to make
primary plane rotation actually work) pushed here:
git://github.com/vsyrjala/linux.git fb_offsets_15

[1] https://lists.freedesktop.org/archives/intel-gfx/2016-February/087660.html
[2] https://lists.freedesktop.org/archives/dri-devel/2016-January/098828.html

Ville Syrjälä (12):
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 | 51 +--
drivers/gpu/drm/i915/i915_gem_gtt.h | 5 +-
drivers/gpu/drm/i915/intel_display.c | 785 +++++++++++++++++++++++++++--------
drivers/gpu/drm/i915/intel_drv.h | 34 +-
drivers/gpu/drm/i915/intel_sprite.c | 111 ++---
5 files changed, 690 insertions(+), 296 deletions(-)