[PATCH] drm:IB flag cleanups
Monk Liu
Monk.Liu at amd.com
Wed Mar 8 08:13:19 UTC 2017
we don't use FLAG_GDS actually, and we need PREEMPT flag
Change-Id: I87f704e3fa97d7a7ffa956f0c94b77c333de380d
Signed-off-by: Monk Liu <Monk.Liu at amd.com>
---
include/drm/amdgpu_drm.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index 89a938a..624819c 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -375,11 +375,11 @@ union drm_amdgpu_cs {
/* This IB should be submitted to CE */
#define AMDGPU_IB_FLAG_CE (1<<0)
-/* GDS is used by this IB */
-#define AMDGPU_IB_FLAG_GDS (1<<1)
+/* Preamble */
+#define AMDGPU_IB_FLAG_PREAMBLE (1<<1)
-/* CE Preamble */
-#define AMDGPU_IB_FLAG_PREAMBLE (1<<2)
+/* Preemptible */
+#define AMDGPU_IB_FLAG_PREEMPT (1<<2)
struct drm_amdgpu_cs_chunk_ib {
/**
--
2.7.4
More information about the amd-gfx
mailing list