]> 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)
commit635dce25ad50e0afbafe9ee7cbc363f78d84ddd3
tree93c0bdc69ab65da448a87ba13ee012571cbee665
parent91c5256807b5ee96f45572b82fc62328fe004f84
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