All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] amdgpu:update IB flags with PREEMPT
@ 2017-03-08 10:22 Monk Liu
  0 siblings, 0 replies; only message in thread
From: Monk Liu @ 2017-03-08 10:22 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Monk Liu

PREEMPT flag is used for MCBP

Change-Id: I2ddf00000f3912c219663e80680f76d671c7856e
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
---
 include/drm/amdgpu_drm.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index ad161c4..aca54c2 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -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_* */
-- 
2.7.4

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-08 10:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-08 10:22 [PATCH] amdgpu:update IB flags with PREEMPT Monk Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.