aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2023-01-20 11:14:30 -0500
committerAlex Deucher <[email protected]>2023-01-31 14:03:36 -0500
commit4b0b4c17f5f6d4df40f2f79068909236858d61e0 (patch)
tree4a182c341c9bea8716fe3bb933772b3706bd32fa /lib/test_fortify/write_overflow-strncpy-src.c
parentcf76ce68c214b78bf151e84abaa0a2704fd38574 (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