[PATCH 2/4] drm/amdgpu/sdma4: drop hdp flush from wptr shadow update
Alex Deucher
alexdeucher at gmail.com
Fri Jul 28 20:34:06 UTC 2017
The wb buffer is in system memory, not vram so the flush
is useless.
Cc: Frank Min <Frank.Min at amd.com>
Reviewed-by: Christian König <christian.koenig 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 660704d..c76727b 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@ -313,7 +313,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