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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 27.11.19 um 21:56 schrieb Alex Deucher:
So it's not mixed up with the CTX stuff.

Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>

Reviewed-by: Christian König <christian.koenig@xxxxxxx>

---
  include/uapi/drm/amdgpu_drm.h | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index f75c6957064d..918ac3548cd3 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -207,9 +207,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 */
@@ -559,6 +556,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;

_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux