[Intel-gfx] [PATCH 00/11] drm/i915: Some plane init cleanups

Ville Syrjala ville.syrjala at linux.intel.com
Mon Mar 5 16:50:58 UTC 2018


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

Attempt at cleaning up some of plane init stuff. The main attraction is
removing some of the code duplication in SKL+ "primary" vs. "sprite" init.

Ville Syrjälä (11):
  drm/i915: Constify intel_plane_funcs
  drm/i915: Fix tabs vs. spaces
  drm/i915: Populate possible_crtcs for primary/cursor planes
  drm/i915: Don't populate plane->i9xx_plane for sprites
  drm/i915: Allow horizontal mirroring for cnl+ "sprite" planes
  drm/i915: Disallow plane scaling with specific pixel formats
  drm/i915: Add missing pixel formats for skl+ "sprites"
  drm/i915: Move plane_state->scaler_id initialization into
    intel_create_plane_state()
  drm/i915: Introduce intel_plane_alloc()
  drm/i915: Extract skl_universal_plane_init()
  drm/i915: s/intel_plane/plane/ in sprite init

 drivers/gpu/drm/i915/intel_atomic_plane.c |   1 +
 drivers/gpu/drm/i915/intel_display.c      | 184 ++++---------------
 drivers/gpu/drm/i915/intel_drv.h          |  12 +-
 drivers/gpu/drm/i915/intel_sprite.c       | 292 +++++++++++++++++++-----------
 4 files changed, 237 insertions(+), 252 deletions(-)

-- 
2.16.1



More information about the Intel-gfx mailing list