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

ville.syrjala
2016-01-20T19:05:42Z

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

This is the new version of [1]. I already sent a bunch of the earlir
patches as separate prep series [2] and [3]. [2] was already pushed
fully, but most of the patches from [3] didn't get reviewed yet, so
I've included them in this series so that the CI machinery might
actually apply the patches and test the thing. So you can consider
the last prep series superceced by this one.

What's changed from the original:
* The big patch got split up a bit
* I tried to avoid some of the bytes vs. pixels confusion
* Reordered the patches a bit
* Tried to account various other review comments

The series (+ a bit of extra) available here:
git://github.com/vsyrjala/linux.git fb_offsets_7

[1] http://lists.freedesktop.org/archives/intel-gfx/2015-October/078050.html
[2] http://lists.freedesktop.org/archives/intel-gfx/2016-January/085064.html
[3] http://lists.freedesktop.org/archives/intel-gfx/2016-January/085327.html

Ville Syrjälä (18):
drm/i915: Rename the rotated gtt view member to 'rotated'
drm/i915: Pass stride to rotate_pages()
drm/i915: Pass rotation_info to intel_rotate_fb_obj_pages()
drm/i915: Make display gtt offsets u32
drm/i915: Standardize on 'cpp' for bytes per pixel
drm: Add drm_format_plane_width() and drm_format_plane_height()
drm/i915: Fix intel_tile_width() parameters
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: Pass around plane_state instead of fb+rotation
drm/i915: Make sure fb offset is (macro)pixel aligned

drivers/gpu/drm/i915/i915_gem_gtt.c | 70 ++---
drivers/gpu/drm/i915/i915_gem_gtt.h | 16 +-
drivers/gpu/drm/i915/intel_display.c | 587 ++++++++++++++++++++++++-----------
drivers/gpu/drm/i915/intel_drv.h | 35 ++-
drivers/gpu/drm/i915/intel_fbdev.c | 2 +-
drivers/gpu/drm/i915/intel_pm.c | 128 ++++----
drivers/gpu/drm/i915/intel_sprite.c | 136 ++++----
include/drm/drm_crtc.h | 30 ++
8 files changed, 613 insertions(+), 391 deletions(-)

--
2.4.10