mbox series

[v2,00/17] drm/i915: DDI buf trans cleaup and fixes

Message ID 20210608073603.2408-1-ville.syrjala@linux.intel.com (mailing list archive)
Headers show
Series drm/i915: DDI buf trans cleaup and fixes | expand


Ville Syrjälä June 8, 2021, 7:35 a.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

The DDI buf trans functions keep turning into bad
spaghetti every time a new platform gets added.
Split the platforms up properly and turn the whole
thing into a vfunc to make it easier to manage
multiple platforms.

v2: Rebase due to adl-p landing in the meantime

Ville Syrjälä (17):
  drm/i915: s/intel/hsw/ for hsw/bdw/skl buf trans
  drm/i915: Introduce hsw_get_buf_trans()
  drm/i915: Wrap the platform specific buf trans structs into a union
  drm/i915: Rename dkl phy buf trans tables
  drm/i915: Wrap the buf trans tables into a struct
  drm/i915: Introduce intel_get_buf_trans()
  drm/i915; Return the whole buf_trans struct from get_buf_trans()
  drm/i915: Store the HDMI default entry in the bug trans struct
  drm/i915: Introduce encoder->get_buf_trans()
  drm/i915: Clean up hsw/bdw/skl/kbl buf trans funcs
  drm/i915: Introduce rkl_get_combo_buf_trans()
  drm/i915: Fix dg1 buf trans tables
  drm/i915: Deduplicate icl DP HBR2 vs. eDP HBR3 table
  drm/i915: Fix ehl edp hbr2 vswing table
  drm/i915: Clean up jsl/ehl buf trans functions
  drm/i915: Nuke buf_trans hdmi functions
  drm/i915: Add the missing adls vswing tables

 drivers/gpu/drm/i915/display/intel_crt.c      |    3 +
 drivers/gpu/drm/i915/display/intel_ddi.c      |  167 +-
 drivers/gpu/drm/i915/display/intel_ddi.h      |    4 +-
 .../drm/i915/display/intel_ddi_buf_trans.c    | 2437 ++++++++++-------
 .../drm/i915/display/intel_ddi_buf_trans.h    |   68 +-
 .../drm/i915/display/intel_display_types.h    |    4 +
 drivers/gpu/drm/i915/display/intel_fdi.c      |    5 +-
 7 files changed, 1473 insertions(+), 1215 deletions(-)