diff options
| author | Aaron Liu <[email protected]> | 2019-11-15 07:08:36 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-04-28 20:20:29 +0000 |
| commit | 8fb2e01a1ed8616b7a2bc8b00b50356d26efba2e (patch) | |
| tree | 5e8f550bce1a199ac3d52d5d5fbfe53bfcee3320 /drivers/gpu/drm/amd/amdgpu | |
| parent | drm/amdgpu: enable TMZ bit in sdma copy pkt for sdma v5 (diff) | |
| download | kernel-8fb2e01a1ed8616b7a2bc8b00b50356d26efba2e.tar.gz kernel-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 <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 |
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) { |
