summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2023-03-16 16:17:19 +0300
committerImre Deak <imre.deak@intel.com>2023-03-22 21:31:14 +0300
commit2983b869881b169288909b4ac93f407fe804a75a (patch)
treeeba4e2229892182ea1071d5b8771b028ba234340 /tools/perf/scripts/python/stackcollapse.py
parentc173a91b760844074abcd636eda47d3b2c107a64 (diff)
downloadlinux-2983b869881b169288909b4ac93f407fe804a75a.tar.xz
drm/i915/tc: Fix initial TC mode on disabled legacy ports
Atm, a TC port's initial mode will be read out as TBT mode in any case the PHY ownership is not held. This isn't correct for legacy ports which should be used only in legacy mode. Fix the above initial mode to be disconnected mode for a legacy port and TBT mode for DP-alt/TBT ports. Determine the port type by checking first the HPD state and then the legacy VBT flag (so the HPD state can correct a bogus VBT flag). If a sink is connected on a disabled port the PHY will get also connected (switching it to legacy mode on a legacy port). Also connect the PHY on a legacy port if it's enabled but BIOS incorrectly left it in the disconnected state for some reason. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230316131724.359612-10-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions