]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/display: Fix PHY_C20_VDR_CUSTOM_SERDES_RATE programming
authorImre Deak <imre.deak@intel.com>
Wed, 15 Oct 2025 12:54:44 +0000 (15:54 +0300)
committerMika Kahola <mika.kahola@intel.com>
Thu, 16 Oct 2025 08:46:15 +0000 (11:46 +0300)
commit4fd6053274d2981d2cd65a9370a700c9fa73384c
tree01d6eb135df78ff5d45d0757a9931fb77118df14
parentb02c9b5e6f67a50eb530bdbf320f5f3eae51f90f
drm/i915/display: Fix PHY_C20_VDR_CUSTOM_SERDES_RATE programming

Make sure all the DP/HDMI/HDMI-FRL flags are programmed in all the modes
the PLL is configured.

Atm the DP mode flag is not programmed in case the PLL is configured for
HDMI mode for instance. This is incorrect after HW reset, since the DP
mode flag is asserted after reset, hence would need to be cleared for
HDMI, but also incorrect because of the same reason after configuring
the PLL to HDMI mode after it was used in DP mode (for instance on a
DP++ connector).

There is a similar issue with the HDMI-FRL flag, potentially remaining
set when configuring the PLL in DP mode.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Link: https://lore.kernel.org/r/20251015125446.3931198-6-mika.kahola@intel.com
drivers/gpu/drm/i915/display/intel_cx0_phy.c