diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-10-15 18:20:45 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-19 09:56:11 -0400 |
commit | a3d5aaa836ed993747af7b53cfca1b3cd3c9fc46 (patch) | |
tree | e236af7f68564bdc09dfcade09d0c414ff94911e /drivers/gpu/drm/amd/amdgpu | |
parent | 45c1da501fc5051fb04f579692f5f0a7d3b0ffbe (diff) |
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 <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, | |||
4114 | amdgpu_ring_write(ring, PACKET3(PACKET3_RELEASE_MEM, 5)); | 4114 | amdgpu_ring_write(ring, PACKET3(PACKET3_RELEASE_MEM, 5)); |
4115 | amdgpu_ring_write(ring, (EOP_TCL1_ACTION_EN | | 4115 | amdgpu_ring_write(ring, (EOP_TCL1_ACTION_EN | |
4116 | EOP_TC_ACTION_EN | | 4116 | EOP_TC_ACTION_EN | |
4117 | EOP_TC_WB_ACTION_EN | | ||
4117 | EVENT_TYPE(CACHE_FLUSH_AND_INV_TS_EVENT) | | 4118 | EVENT_TYPE(CACHE_FLUSH_AND_INV_TS_EVENT) | |
4118 | EVENT_INDEX(5))); | 4119 | EVENT_INDEX(5))); |
4119 | amdgpu_ring_write(ring, DATA_SEL(write64bit ? 2 : 1) | INT_SEL(int_sel ? 2 : 0)); | 4120 | amdgpu_ring_write(ring, DATA_SEL(write64bit ? 2 : 1) | INT_SEL(int_sel ? 2 : 0)); |