]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commite90c2b210bad457aab73d3357465afe4d4475f7e
tree93c0bdc69ab65da448a87ba13ee012571cbee665
parent35ce006004821c5e9ae8fe03d048567cec99c41e
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