summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2026-06-01 12:38:33 +0300
committerImre Deak <imre.deak@intel.com>2026-06-08 19:51:18 +0300
commit11a42e9214033ddfa600787196cbbe4a418dd968 (patch)
tree9152e9154a6395fe5f8e045082e078c4148a1d78 /tools/perf/scripts/python/event_analyzing_sample.py
parent9074b9ff90dc2d3587c7469a8ee58d6af7d97737 (diff)
drm/i915/dp_link_training: Disallow autoretrains after failed modeset
intel_dp_check_link_state() and intel_dp_link_params_valid() perform only a coarse validation of the link configuration used by the active mode against the available configurations (as constrained by the link training fallback code after a previous LT failure). Even if these coarse checks find a seemingly usable configuration, the modeset check, which performs full verification, may still fail. Disallow further autoretrain attempts if an autoretrain modeset fails. Further attempts would just reuse the same modeset parameters and fail in the same way. Autoretrain will be reallowed unconditionally when the sink reports a change in its capabilities. This allows an autoretrain to proceed once both the link validation and modeset checks confirm a usable configuration. Also clarify in intel_dp_check_link_state() and intel_dp_link_params_valid() that these checks are coarse and that a full validation is only performed by the subsequent atomic modeset check. Reviewed-by: Mika Kahola <mika.kahola@intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Link: https://patch.msgid.link/20260601093836.3057345-21-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions