summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorAaron Liu <aaron.liu@amd.com>2019-11-15 15:08:36 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-04-28 16:20:29 -0400
commit8fb2e01a1ed8616b7a2bc8b00b50356d26efba2e (patch)
tree5e8f550bce1a199ac3d52d5d5fbfe53bfcee3320 /drivers/gpu/drm/amd
parentb231531c50126c7bfc838e75dfc4de01f8ed90d3 (diff)
downloadlinux-stable-8fb2e01a1ed8616b7a2bc8b00b50356d26efba2e.tar.gz
linux-stable-8fb2e01a1ed8616b7a2bc8b00b50356d26efba2e.tar.bz2
linux-stable-8fb2e01a1ed8616b7a2bc8b00b50356d26efba2e.zip
drm/amdgpu: enable TMZ bit in FRAME_CONTROL for gfx10
This patch enables TMZ bit in FRAME_CONTROL for gfx10. Signed-off-by: Aaron Liu <aaron.liu@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 201d0a2c460c..979786065aa4 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -7445,7 +7445,7 @@ static void gfx_v10_0_ring_emit_cntxcntl(struct amdgpu_ring *ring,
gfx_v10_0_ring_emit_ce_meta(ring,
(!amdgpu_sriov_vf(ring->adev) && flags & AMDGPU_IB_PREEMPTED) ? true : false);
- gfx_v10_0_ring_emit_tmz(ring, true, false);
+ gfx_v10_0_ring_emit_tmz(ring, true, trusted);
dw2 |= 0x80000000; /* set load_enable otherwise this package is just NOPs */
if (flags & AMDGPU_HAVE_CTX_SWITCH) {