diff options
author | Michael Strauss <michael.strauss@amd.com> | 2025-02-12 13:52:42 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-06-30 11:59:22 -0400 |
commit | 9c6669c2e21a2d9b3f3857883c715a302ae64ac0 (patch) | |
tree | a285fb6cf8e618259e0231cf6481aed4465a9c10 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 51496c7737d06a74b599d0aa7974c3d5a4b1162e (diff) |
drm/amd/display: Fix Link Override Sequencing When Switching Between DIO/HPO
[WHY]
When performing certain link maintenance compliance tests or forcing link
settings, changing between 128b/132b and 8b/10b rates no longer works on
some ASICs. Some rate divider updates only occur when we set
timings or validate state, which is not performed currently when toggling
DPMS to change rates.
[HOW]
Re-calculate dividers and reprogram audio when switching between DIO
and HPO through DP compliance/escape code path.
Add OTG disable/re-enable so we don't touch the clock while OTG is active.
Acquire dcLock before forcing link settings to avoid thread synchronization
errors due to added programming in escape code path and potential HPD
interrupts.
Reviewed-by: George Shen <george.shen@amd.com>
Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Signed-off-by: Mike Katsnelson <mike.katsnelson@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions