From: Alex Deucher Date: Thu, 15 Oct 2015 22:20:45 +0000 (-0400) Subject: drm/amdgpu/gfx8: set TC_WB_ACTION_EN in RELEASE_MEM packet X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a3d5aaa836ed993747af7b53cfca1b3cd3c9fc46;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu/gfx8: set TC_WB_ACTION_EN in RELEASE_MEM packet This is the recommended setting from the hw team for newer versions of the firmware. Reviewed-by: Christian König Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 718250ae9856..7dd7651b0ba7 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c @@ -4114,6 +4114,7 @@ static void gfx_v8_0_ring_emit_fence_compute(struct amdgpu_ring *ring, amdgpu_ring_write(ring, PACKET3(PACKET3_RELEASE_MEM, 5)); amdgpu_ring_write(ring, (EOP_TCL1_ACTION_EN | EOP_TC_ACTION_EN | + EOP_TC_WB_ACTION_EN | EVENT_TYPE(CACHE_FLUSH_AND_INV_TS_EVENT) | EVENT_INDEX(5))); amdgpu_ring_write(ring, DATA_SEL(write64bit ? 2 : 1) | INT_SEL(int_sel ? 2 : 0));