diff options
author | Nicholas Kazlauskas <[email protected]> | 2023-01-20 11:14:30 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-02-01 22:45:50 -0500 |
commit | 154711aa5759ef9b45903124fa813c4c29ee681c (patch) | |
tree | 3b0025d25d020e4efdfd07523011e5df7412595a /tools/perf/scripts/python/stackcollapse.py | |
parent | 275d8a1db261a1272a818d40ebc61b3b865b60e5 (diff) |
drm/amd/display: Reset DMUB mailbox SW state after HW reset
[Why]
Otherwise we can be out of sync with what's in the hardware, leading
to us rerunning every command that's presently in the ringbuffer.
[How]
Reset software state for the mailboxes in hw_reset callback.
This is already done as part of the mailbox init in hw_init, but we
do need to remember to reset the last cached wptr value as well here.
Reviewed-by: Hansen Dsouza <[email protected]>
Acked-by: Alex Hung <[email protected]>
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions