[Intel-gfx] [PATCH 00/11] drm/i915/tc: Add a workaround for an IOM/TCSS firmware hang issue

Imre Deak
2023-04-26T16:53:13Z

If a TypeC/DP-alt output is not disabled in time some IOM/TCSS firmware
component will time-out and block at least the PCI power management
operations for other PCI GFX devices. This patchset adds a workaround
that performs an in-kernel modeset (either disabling or switching to
TBT-alt mode) on such connectors to work around this issue.

Imre Deak (11):
drm/i915: Fix PIPEDMC disabling for a bigjoiner configuration
drm/i915: Make the CRTC wrt. CSC state consistent during
sanitize-disabling
drm/i915: Update connector atomic state before crtc sanitize-disabling
drm/i915: Factor out set_encoder_for_connector()
drm/i915: Add support for disabling any CRTCs during HW
readout/sanitization
drm/i915/dp: Add link training debug and error printing helpers
drm/i915/dp: Convert link training error to debug message on
disconnected sink
drm/i915/dp: Prevent link training fallback on disconnected port
drm/i915/dp: Factor out intel_dp_get_active_pipes()
drm/i915: Factor out call_with_modeset_ctx()
drm/i915/tc: Reset TypeC PHYs left enabled in DP-alt mode after the
sink disconnects

drivers/gpu/drm/i915/display/intel_ddi.c | 92 ++++-
drivers/gpu/drm/i915/display/intel_display.c | 12 +-
.../drm/i915/display/intel_display_types.h | 2 +
drivers/gpu/drm/i915/display/intel_dp.c | 71 +++-
drivers/gpu/drm/i915/display/intel_dp.h | 4 +
.../drm/i915/display/intel_dp_link_training.c | 388 +++++++-----------
.../drm/i915/display/intel_modeset_setup.c | 202 +++++++--
drivers/gpu/drm/i915/display/intel_tc.c | 21 +
drivers/gpu/drm/i915/display/intel_tc.h | 1 +
9 files changed, 488 insertions(+), 305 deletions(-)

--
2.37.2