Commit 4baa8ff0 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: move CS secure flag next the structs where it's used

So it's not mixed up with the CTX stuff.
Reviewed-by: default avatarZhan Liu <zhan.liu@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8fb2e01a
......@@ -205,9 +205,6 @@ union drm_amdgpu_bo_list {
#define AMDGPU_CTX_OP_QUERY_STATE 3
#define AMDGPU_CTX_OP_QUERY_STATE2 4
/* Flag the command submission as secure */
#define AMDGPU_CS_FLAGS_SECURE (1 << 0)
/* GPU reset status */
#define AMDGPU_CTX_NO_RESET 0
/* this the context caused it */
......@@ -561,6 +558,9 @@ struct drm_amdgpu_cs_chunk {
__u64 chunk_data;
};
/* Flag the command submission as secure */
#define AMDGPU_CS_FLAGS_SECURE (1 << 0)
struct drm_amdgpu_cs_in {
/** Rendering context id */
__u32 ctx_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment