summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-08-07 22:32:46 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-04-28 16:20:29 -0400
commit4cd24494cc87468145ccacd885446b2fec6cb856 (patch)
tree0c4a7acaefd666b7bad86e46862d2984a0317234 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
parentcb5fae143d79d255251921066dbf8eae16383639 (diff)
drm/amdgpu: set TMZ bits in PTEs for secure BO (v4)
If a buffer object is secure, i.e. created with AMDGPU_GEM_CREATE_ENCRYPTED, then the TMZ bit of the PTEs that belong the buffer object should be set. v1: design and draft the skeletion of TMZ bits setting on PTEs (Alex) v2: return failure once create secure BO on non-TMZ platform (Ray) v3: amdgpu_bo_encrypted() only checks the BO (Luben) v4: move TMZ flag setting into amdgpu_vm_bo_update (Christian) Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h')
0 files changed, 0 insertions, 0 deletions