Skip to contentSkip to conversation

amdgpu:update IB flags with PREEMPT

PATCH New Monk Liu 1 participant 1 message Mar 8, 2017 DRM drivers

lore
Share & tools
lore

Monk Liu

author
#0 lore raw

PATCH 1/1 amdgpu:update IB flags with PREEMPT

PREEMPT flag is used for MCBP

Change-Id I2ddf00000f3912c219663e80680f76d671c7856e
---
 include/drm/amdgpu_drm.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
include/drm/amdgpu_drm.h +4 -1
index ad161c4..aca54c2 100644
@@ -409,9 +409,12 @@ union drm_amdgpu_cs {
 /* This IB should be submitted to CE */
 #define AMDGPU_IB_FLAG_CE	(1<<0)
 
-/* CE Preamble */
+/* Preamble */
 #define AMDGPU_IB_FLAG_PREAMBLE (1<<1)
 
+/* Preemptible */
+#define AMDGPU_IB_FLAG_PREEMPT (1<<2)
+
 struct drm_amdgpu_cs_chunk_ib {
 	uint32_t _pad;
 	/** AMDGPU_IB_FLAG_* */
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx