drm/amdgpu/psp: flush HDP write fifo after submitting cmds to the psp
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Sep 2019 20:12:18 +0000 (15:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:10:59 +0000 (09:10 -0500)
commite8186eeccb84eb41a87c9e6ffad2c9e61f3e3636
treed8325d012844965bd6c5b07efdf87703a3794493
parent5222d26146029bffa6d94d14315529cddaac96cf
drm/amdgpu/psp: flush HDP write fifo after submitting cmds to the psp

We need to make sure the fifo is flushed before we ask the psp to
process the commands.

Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v10_0.c
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
drivers/gpu/drm/amd/amdgpu/psp_v12_0.c
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c