diff options
| author | Nicholas Kazlauskas <[email protected]> | 2022-01-23 13:20:04 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-01-25 18:00:35 -0500 |
| commit | b80ddeb29d9df449f875f0b6f5de08d7537c02b8 (patch) | |
| tree | 161fef141b5445c71edf473921b34b38c2bca747 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 87e298d6e3a2169831a2f4a29e35575ee5747036 (diff) | |
drm/amd/display: Use PSR version selected during set_psr_caps
[Why]
If the DPCD caps specifies a PSR version newer than PSR_VERSION_1 then
we fallback to using PSR_VERSION_1 in amdgpu_dm_set_psr_caps.
This gets overriden with the raw DPCD value in amdgpu_dm_link_setup_psr,
which can result in DMCUB hanging if we pass in an unsupported PSR
version number.
[How]
Fix the hang by using link->psr_settings.psr_version directly during
amdgpu_dm_link_setup_psr.
Tested-by: Daniel Wheeler <[email protected]>
Reviewed-by: Anthony Koo <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions