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>
This commit is contained in:
parent
575a07d2da
commit
a67094432d
|
@ -313,7 +313,6 @@ static void sdma_v4_0_ring_set_wptr(struct amdgpu_ring *ring)
|
||||||
offset = adev->sdma.instance[i].poll_mem_offs;
|
offset = adev->sdma.instance[i].poll_mem_offs;
|
||||||
atomic64_set((atomic64_t *)&adev->wb.wb[offset],
|
atomic64_set((atomic64_t *)&adev->wb.wb[offset],
|
||||||
(ring->wptr << 2));
|
(ring->wptr << 2));
|
||||||
nbio_v6_1_hdp_flush(adev);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue