diff options
| author | Nicholas Kazlauskas <[email protected]> | 2022-01-23 13:20:02 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-01-25 18:00:34 -0500 |
| commit | 1210b17dd4ece454d68a9283f391e3b036aeb010 (patch) | |
| tree | b938497a153c7ebddde244e7eebb5782bc563d85 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | e2d8ea4320c6fcf9f042e432232240f858ae9ed8 (diff) | |
drm/amd/display: Only set PSR version when valid
[Why]
DMCUB will hang if we send a PSR unsupported set version command.
This can occur if we fall-through into the default case in the switch
statement for PSR version.
[How]
Add an unsupported check after the switch statement.
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