aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2017-07-27 15:30:27 -0400
committerAlex Deucher <[email protected]>2017-08-15 14:46:03 -0400
commita67094432da75d2769e7c35323f26c6873908e6c (patch)
tree0555b77f9441a9b2209bf887e2c0a417fc6509d7
parent575a07d2dabca6d05c3b59262fe754f9a52b29a6 (diff)
drm/amdgpu/sdma4: drop hdp flush from wptr shadow update
The wb buffer is in system memory, not vram so the flush is useless. Cc: Frank Min <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index f970a4a6b666..587bf508c794 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);
}
}
}