]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add UAPI to create secure commands (v3)
authorLuben Tuikov <luben.tuikov@amd.com>
Mon, 23 Sep 2019 23:02:41 +0000 (19:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:20:28 +0000 (16:20 -0400)
commita8e662bf8e8eb28329d0dd8e61d828eea7f07f0f
tree93c0bdc69ab65da448a87ba13ee012571cbee665
parentec1dfa68866484e64eb64abaaf983e911c016691
drm/amdgpu: add UAPI to create secure commands (v3)

Add a flag to the command submission IOCTL
structure which when present indicates that this
command submission should be treated as
secure. The kernel driver uses this flag to
determine whether the engine should be
transitioned to secure or unsecure, or the work
can be submitted to a secure queue depending on
the IP.

v3: the flag is now at command submission IOCTL

Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/uapi/drm/amdgpu_drm.h