aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/amdgpu/drm/amdgpu_cs.h
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-12-06 10:28:10 +0100
committerPierre-Eric Pelloux-Prayer <[email protected]>2020-05-11 10:25:53 +0200
commit977e19d5cfe02227756aa022a7471570aa17edf7 (patch)
tree5c90803da02e8f6bc295e7f8c2698047b7616beb /src/gallium/winsys/amdgpu/drm/amdgpu_cs.h
parent506f5d9bda64fc07ee1a216cb3aeef98491c6365 (diff)
amdgpu/radeon: add secure api
Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4401>
Diffstat (limited to 'src/gallium/winsys/amdgpu/drm/amdgpu_cs.h')
-rw-r--r--src/gallium/winsys/amdgpu/drm/amdgpu_cs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.h b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.h
index 26c14d8ec69..a50257b5b7b 100644
--- a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.h
+++ b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.h
@@ -122,6 +122,9 @@ struct amdgpu_cs_context {
/* the error returned from cs_flush for non-async submissions */
int error_code;
+
+ /* TMZ: will this command be submitted using the TMZ flag */
+ bool secure;
};
struct amdgpu_cs {