]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add UAPI for creating encrypted buffers
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Aug 2019 02:43:24 +0000 (21:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:20:28 +0000 (16:20 -0400)
commit91c5256807b5ee96f45572b82fc62328fe004f84
tree2cfcb7ffbf765c4027d1294b9bce85260fcf9248
parent5605e0be427aa584e43d0477ccffb937f0784f40
drm/amdgpu: add UAPI for creating encrypted buffers

Add a flag to the GEM_CREATE ioctl to create encrypted buffers.
Buffers with this flag set will be created with the TMZ bit set
in the PTEs or engines accessing them.  This is required in order
to properly access the data from the engines.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
include/uapi/drm/amdgpu_drm.h