OSDN Git Service

drm/amdgpu: add cache flush workaround to gfx8 emit_fence
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 28 Nov 2019 11:08:58 +0000 (12:08 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:24:58 +0000 (16:24 -0500)
commitb456c93253bde374057bfca8f74ada527250d5d9
tree302f4ace2549533b8535891d450e8c659014290a
parent80c5a807a51f2d19df4a5a5d12cf9d4997993999
drm/amdgpu: add cache flush workaround to gfx8 emit_fence

The same workaround is used for gfx7.
Both PAL and Mesa use it for gfx8 too, so port this commit to
gfx_v8_0_ring_emit_fence_gfx.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c