[Intel-gfx] [PATCH 00/20] drm/i915: Futher cleanup around hpd pins and port identfiers

Ville Syrjala ville.syrjala at linux.intel.com
Tue Oct 6 14:33:29 UTC 2020


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

Continuing the saga of trying to remove most of the nasty platform
if-ladders from the irq code where they don't belong.

Also adding some aliases for the TC DDIs/AUX CHs to make
the code less confusing. And some other cleanup around the affected
areas that kept bugging me.

After this I think new platforms shouldn't really need any changes
to the HPD irq code unless the bits get shuffled around yet again
(which sadly does seem to be the case sometimes).

Ville Syrjälä (20):
  drm/i915: Sort the mess around ICP TC hotplugs regs
  drm/i915: s/PORT_TC/TC_PORT_TC/
  drm/i915: Add PORT_TCn aliases to enum port
  drm/i915: Give DDI encoders even better names
  drm/i915: Introduce AUX_CH_USBCn
  drm/i915: Pimp AUX CH names
  drm/i915: Use AUX_CH_USBCn for the RKL VBT AUX CH setup
  drm/i915: Parametrize BXT_DE_PORT_HP_DDI with hpd_pin
  drm/i915: Introduce GEN8_DE_PORT_HOTPLUG()
  drm/i915: s/port/hpd_pin/ for icp+ ddi hpd bits
  drm/i915: s/tc_port/hpd_pin/ in GEN11_{TC,TBT}_HOTPLUG()
  drm/i915: s/tc_port/hpd_pin/ in icp+ TC hotplug bits
  drm/i915: Relocate intel_hpd_{enabled,hotplug}_irqs()
  drm/i915: Split gen11_hpd_detection_setup() into tc vs. tbt variants
  drm/i915: Don't enable hpd detection logic from irq_postinstall()
  drm/i915: Rename 'tmp_mask'
  drm/i915: Remove the per-plaform IIR HPD masking
  drm/i915: Enable hpd logic only for ports that are present
  drm/i915: Use GEN3_IRQ_INIT() to init south interrupts in icp+
  drm/i915: Get rid of ibx_irq_pre_postinstall()

 drivers/gpu/drm/i915/display/intel_bios.c    |  18 +-
 drivers/gpu/drm/i915/display/intel_ddi.c     |  31 +-
 drivers/gpu/drm/i915/display/intel_display.c |  30 +-
 drivers/gpu/drm/i915/display/intel_display.h |  30 +-
 drivers/gpu/drm/i915/display/intel_dp.c      |  66 ++-
 drivers/gpu/drm/i915/display/intel_tc.c      |   2 +-
 drivers/gpu/drm/i915/i915_irq.c              | 549 ++++++++++---------
 drivers/gpu/drm/i915/i915_reg.h              | 323 +++++------
 8 files changed, 589 insertions(+), 460 deletions(-)

-- 
2.26.2



More information about the Intel-gfx mailing list