diff options
author | Imre Deak <imre.deak@intel.com> | 2023-03-16 16:17:11 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2023-03-22 21:26:03 +0300 |
commit | a972cd3f0eb50bde3823e8d1df8f6c1b0c673ecc (patch) | |
tree | e75912987b6e473632277552a2b891eb0e318601 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 41b4c7fe72b6105a4b49395eea9aa40cef94288d (diff) | |
download | linux-a972cd3f0eb50bde3823e8d1df8f6c1b0c673ecc.tar.xz |
drm/i915/tc: Abort DP AUX transfer on a disconnected TC port
On TC ports the 4ms AUX timeout combined with the 5 * 32 retry
attempts during DPCD accesses adds a 640ms delay to each access if the
sink is disconnected. This in turn slows down a modeset during which the
sink is disconnected (for instance a disabling modeset).
Prevent the above delay by aborting AUX transfers on a TC port with a
disconnected sink.
The DP 1.4a link CTS (4.2.1.5 Source Device Inactive HPD / Inactive AUX
Test") also requires not to initiate AUX transfers on disconnected DP
ports in general, however this patch doesn't change the behavior on
non-TC ports, leaving that for a follow-up.
Reported-and-tested-by: Chris Chiu <chris.chiu@canonical.com>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8279
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316131724.359612-2-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions