The wb buffer is in system memory, not vram so the flush
is useless.

Cc: Frank Min <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c 
b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index 9392799..3ffdf88 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@ -312,7 +312,6 @@ static void sdma_v4_0_ring_set_wptr(struct amdgpu_ring 
*ring)
                                        offset = 
adev->sdma.instance[i].poll_mem_offs;
                                        atomic64_set((atomic64_t 
*)&adev->wb.wb[offset],
                                                     (ring->wptr << 2));
-                                       nbio_v6_1_hdp_flush(adev);
                                }
                        }
                }
-- 
2.5.5

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to