summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2025-11-20 19:23:58 +0200
committerImre Deak <imre.deak@intel.com>2025-11-21 20:51:47 +0200
commitf32df9e94d9565b4ce3067cf107afd687fca0851 (patch)
tree3910108575ec8b1592edd2240b8ff87cc6f01f43 /tools/perf/scripts/python/task-analyzer.py
parentdc5b3ef88ba7cc9f2748b75b6b127b2b400315cc (diff)
downloadlinux-f32df9e94d9565b4ce3067cf107afd687fca0851.tar.gz
linux-f32df9e94d9565b4ce3067cf107afd687fca0851.zip
drm/i915/cx0: Read out power-down state of both PHY lanes for reversed lanes
For a port used with lane reversal enabled the first two TX lanes will be enabled in PHY lane#1 instead of PHY lane#0. At the moment the HW readout will read out the power-down state for these two TX lanes from PHY lane#0 incorrectly. The display HW lane reversal feature (vs. the similar TCSS lane swap) is only used for TypeC legacy mode and for non-TypeC PHYs. Since in both of these cases the display owns both PHY lanes, both of these PHY lanes' state can be read out. Do that to fix cases when lane reversal is used with 1 or 2 active TX lanes. While at it add an assert to the PLL enable function about the above assumption on when lane reversal can be used. Cc: Mika Kahola <mika.kahola@intel.com> Cc: Suraj Kandpal <suraj.kandpal@intel.com> Fixes: 230d4c748113 ("drm/i915/cx0: Track the Cx0 PHY enabled lane count in the PLL state") Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Link: https://patch.msgid.link/20251120172358.1282765-5-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions