diff options
author | hengzhou <[email protected]> | 2022-05-07 09:43:08 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-06-01 15:56:48 -0400 |
commit | 92909cde3235f894d7cdf59709d86e9b22f897ce (patch) | |
tree | 3a44c6c0c17dfa1ccdfc6281fa0e348658289927 /tools/perf/scripts/python/libxed.py | |
parent | 8440f57532496d398a461887e56ca6f45089fbcf (diff) |
drm/amd/display: Wait DMCUB to idle state before reset.
[WHY]
Very low rate to cause memory access issue while resetting
DMCUB after the halt command was sent to it.
The process of stopping fw of DMCUB may be timeout, that means
it is not in idle state, such as the window frames may still be
kept in cache, so reset by force will cause MMHUB hang.
[HOW]
After the halt command was sent, keep checking the DMCUB state until
it is idle.
Reviewed-by: Eric Yang <[email protected]>
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Jasdeep Dhillon <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: hengzhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions