[PATCH 3/5] drm/amdgpu/sdma4: drop hdp flush from wptr shadow update
Alex Deucher
alexdeucher at gmail.com
Thu Jul 27 19:46:03 UTC 2017
The wb buffer is in system memory, not vram so the flush
is useless.
Cc: Frank Min <Frank.Min at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
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
More information about the amd-gfx
mailing list