[Intel-gfx] [PATCH v2 0/6] display/ddi: keep register indexes in a table

Lucas De Marchi lucas.demarchi at intel.com
Thu Jun 25 00:11:14 UTC 2020


v2 of https://patchwork.freedesktop.org/series/71330/

I think I covered comments from Jani and Matt Roper here. This is still
in the RFC phase and thus not properly tested.

Change in this version is mostly that now it's not trying to generalize
intel_setup_outputs(), but rather provide a function each platform can
call to setup the outputs. As such, dsi initialization and port presence
checks are left where they are.

We now also have a PHY_MG/PHY_DKL rather than PHY_TC and one additional
patch in the end doing more conversions. Hopefully this showcase better
the final state I want to accomplish. There's a lot more conversions to
do and even those done here I think will be in a different form in the
end.

This is *untested*, just sending it here for feedback on the direction.
Patch 1 and 2 were for the first version, and are now optional.

Lucas De Marchi (6):
  drm/i915: move ICL port F hack to intel_bios
  drm/i915/display: fix comment on skl straps
  drm/i915/display: start description-based ddi initialization
  drm/i915/display: add phy, vbt and ddi indexes
  drm/i915/display: use port_info in intel_ddi_init
  drm/i915/display: replace port to phy conversions in intel_ddi.c

 drivers/gpu/drm/i915/display/intel_bios.c     |  23 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      | 197 +++++++++---------
 drivers/gpu/drm/i915/display/intel_ddi.h      |   8 +-
 drivers/gpu/drm/i915/display/intel_display.c  | 156 +++++++++-----
 drivers/gpu/drm/i915/display/intel_display.h  |   8 +
 .../drm/i915/display/intel_display_types.h    |  12 ++
 6 files changed, 246 insertions(+), 158 deletions(-)

-- 
2.26.2



More information about the Intel-gfx mailing list