aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2023-01-20 16:14:30 +0000
committerAlex Deucher <[email protected]>2023-01-31 19:03:36 +0000
commit4b0b4c17f5f6d4df40f2f79068909236858d61e0 (patch)
tree4a182c341c9bea8716fe3bb933772b3706bd32fa /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2 (diff)
downloadkernel-4b0b4c17f5f6d4df40f2f79068909236858d61e0.tar.gz
kernel-4b0b4c17f5f6d4df40f2f79068909236858d61e0.zip
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions