]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/ltphy: Return true for TBT scenario during lt_phy_state compare
authorSuraj Kandpal <suraj.kandpal@intel.com>
Wed, 4 Feb 2026 02:32:47 +0000 (08:02 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 5 Feb 2026 02:36:39 +0000 (08:06 +0530)
commit58bb61161ee121b09bd61ad26ed424c4db5c03c2
tree9332396cee09e70f672fa914ab430300ec4fecc1
parent05cffc0749388d5979a75039f3715b17092c3f40
drm/i915/ltphy: Return true for TBT scenario during lt_phy_state compare

TBT PHY is enablement/disablement is handled by its own TBT module.
We do not play a big part in it's state management, that being take care
by it's own TBT modeule.
The PHY/PLL TypeC mode (TBT, DP-alt) can change after the PLL state was
computed for a modeset, so the state verification after the modeset
sequence would indicate a mismatch in case the mode changed from DP-alt
to TBT, or from TBT to DP-alt mode. To avoid such a mismatch error the
verification is skipped if the mode for either the read-out or the
computed state is TBT (where that TBT PLL state doesn't reflect anyway
the PLL's actual HW state).
Simply return true when we are in tbt mode.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260204023247.1560196-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_lt_phy.c