drm/amdgpu: expand the emit tmz interface with trusted flag
authorHuang Rui <ray.huang@amd.com>
Mon, 9 Mar 2020 17:53:37 +0000 (13:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:20:28 +0000 (16:20 -0400)
commit155748c912e7063dfcf0cd071e289f4aff152672
treef81ca841b27ed1062ae54fbff2a8dcca5224964e
parenteda982a67225a8fe46807dc45304469f612e99bb
drm/amdgpu: expand the emit tmz interface with trusted flag

This patch expands the emit_tmz function to support trusted flag while we want
to set command buffer in trusted mode.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c