drm/i915/adlp: Add TypeC PHY TBT->DP-alt/legacy mode switch workaround
authorImre Deak <imre.deak@intel.com>
Fri, 18 Feb 2022 12:26:11 +0000 (14:26 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 21 Feb 2022 16:50:59 +0000 (18:50 +0200)
commit55223c3bedcffcb81400db7f1ed1f207d523eaba
tree5fedf34097b0dd39bf10d93ca5ce4e88f73d1e91
parent602e604a899a0d06afcd69c693f15c5fd91742d8
drm/i915/adlp: Add TypeC PHY TBT->DP-alt/legacy mode switch workaround

Add display workaround # 1309179469 , which fixes a PHY hang when
switching from TBT mode to DP-alt/legacy mode. The workaround also
requires an IFWI/PHY firmware change, before that this change has no
effect (the DKL_PCS_DW5/SOFTRESET flag is always cleared).

HSDES: 18018237866
HSDES: 16014473319

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220218122611.767974-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/i915_reg.h