[Intel-gfx] [PATCH 0/9] drm/i915: Add a per-pipe plane identifier enum

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Tue Nov 8 14:47:10 UTC 2016


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

This series aims to clean up the mess we have with intel_plane->plane
by adding a new intel_plane->id thing. Afterwards the two are clearly
separated so that intel_plane->id is the per-pipe plane identifier,
and intel_plane->plane is the legacy primary plane identifier
(ie. same as intel_plane->pipe everwhere except potentially gen2/3).

Ville Syrjälä (9):
  drm/i915: Remove some duplicated plane swapping logic
  drm/i915: Add per-pipe plane identifier
  drm/i915: Add crtc->plane_ids_mask
  drm/i915: Use enum plane_id in SKL wm code
  drm/i915: Use enum plane_id in SKL plane code
  drm/i915: Use enum plane_id in VLV/CHV sprite code
  drm/i915: Use enum plane_id in VLV/CHV wm code
  drm/i915: Rename the local 'plane' variable to 'plane_id' in primary
    plane code
  drm/i915: Don't populate plane->plane for cursors and sprites

 drivers/gpu/drm/i915/i915_drv.h      |  30 ++++-
 drivers/gpu/drm/i915/i915_reg.h      |  58 +++++----
 drivers/gpu/drm/i915/intel_display.c | 118 +++++++++---------
 drivers/gpu/drm/i915/intel_drv.h     |   6 +-
 drivers/gpu/drm/i915/intel_pm.c      | 229 +++++++++++++++--------------------
 drivers/gpu/drm/i915/intel_sprite.c  | 126 +++++++++----------
 6 files changed, 282 insertions(+), 285 deletions(-)

-- 
2.7.4



More information about the Intel-gfx mailing list