[Intel-gfx] [PATCH 0/7] drm/i915: Init DDI ports based on port_mask

Ville Syrjala ville.syrjala at linux.intel.com
Thu May 11 16:55:27 UTC 2023


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

Introduce port_mask into the device info and utilize it
it initalize DDI ports instead of hand rolling each
intel_ddi_init() call per platform+port.

This is an intermediate step towards initializing
DDI/DP/HDMI/DSI ports purely based on VBT information.

Ville Syrjälä (7):
  drm/i915: Remove bogus DDI-F from hsw/bdw output init
  drm/i915: Introduce device info port_mask
  drm/i915: Assert that device info bitmasks have enough bits
  drm/i915: Assert that the port being initialized is valid
  drm/i915: Beef up SDVO/HDMI port checks
  drm/i915: Init DDI outputs based on port_mask on skl+
  drm/i915: Convert HSW/BDW to use port_mask for DDI probe

 drivers/gpu/drm/i915/display/g4x_dp.c        |   3 +
 drivers/gpu/drm/i915/display/g4x_hdmi.c      |  20 ++++
 drivers/gpu/drm/i915/display/intel_crt.c     |   2 +
 drivers/gpu/drm/i915/display/intel_ddi.c     |  30 ++++++
 drivers/gpu/drm/i915/display/intel_display.c | 103 ++++---------------
 drivers/gpu/drm/i915/display/intel_display.h |   2 +
 drivers/gpu/drm/i915/display/intel_dvo.c     |   2 +
 drivers/gpu/drm/i915/display/intel_sdvo.c    |  20 +++-
 drivers/gpu/drm/i915/i915_pci.c              |  33 ++++++
 drivers/gpu/drm/i915/intel_device_info.c     |   9 ++
 drivers/gpu/drm/i915/intel_device_info.h     |   1 +
 11 files changed, 136 insertions(+), 89 deletions(-)

-- 
2.39.3



More information about the Intel-gfx mailing list