drm/amdgpu: Move to a per-IB secure flag (TMZ)
Move from a per-CS secure flag (TMZ) to a per-IB secure flag. Signed-off-by: Luben Tuikov <luben.tuikov@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
5888f07a65
commit
0bb5d5b03f
@@ -558,9 +558,6 @@ 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;
|
||||
@@ -601,6 +598,10 @@ union drm_amdgpu_cs {
|
||||
*/
|
||||
#define AMDGPU_IB_FLAG_RESET_GDS_MAX_WAVE_ID (1 << 4)
|
||||
|
||||
/* Flag the IB as secure (TMZ)
|
||||
*/
|
||||
#define AMDGPU_IB_FLAGS_SECURE (1 << 5)
|
||||
|
||||
struct drm_amdgpu_cs_chunk_ib {
|
||||
__u32 _pad;
|
||||
/** AMDGPU_IB_FLAG_* */
|
||||
|
Reference in New Issue
Block a user