diff options
author | Nicholas Kazlauskas <[email protected]> | 2023-01-20 11:14:30 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-01-31 14:03:36 -0500 |
commit | 4b0b4c17f5f6d4df40f2f79068909236858d61e0 (patch) | |
tree | 4a182c341c9bea8716fe3bb933772b3706bd32fa /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | cf76ce68c214b78bf151e84abaa0a2704fd38574 (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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions