summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-07-27 15:30:27 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-08-15 14:46:03 -0400
commita67094432da75d2769e7c35323f26c6873908e6c (patch)
tree0555b77f9441a9b2209bf887e2c0a417fc6509d7 /drivers/gpu/drm/amd/amdgpu
parent575a07d2dabca6d05c3b59262fe754f9a52b29a6 (diff)
downloadop-kernel-dev-a67094432da75d2769e7c35323f26c6873908e6c.zip
op-kernel-dev-a67094432da75d2769e7c35323f26c6873908e6c.tar.gz
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 <Frank.Min@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-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 f970a4a..587bf50 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);
}
}
}
OpenPOWER on IntegriCloud