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 22:54:55 +0000 (17:54 -0500)
commitbf26da927a1cd57c9deb2db29ae8cf276ba8b17b
treedfb564b380504a851480fa24c93eba10f221d9cf
parent14891c316ca7e15d81dba78f30fb630e3f9ee2c9
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