mbox series

[0/7] drm/i915: Init DDI ports based on port_mask

Message ID 20230511165534.10266-1-ville.syrjala@linux.intel.com (mailing list archive)
Headers show
Series drm/i915: Init DDI ports based on port_mask | expand

Message

Ville Syrjälä May 11, 2023, 4:55 p.m. UTC
From: Ville Syrjälä <ville.syrjala@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(-)