Merge drm/drm-fixes into drm-misc-fixes
[sfrench/cifs-2.6.git] / include / drm / gpu_scheduler.h
index 599855c6a6727b4f2739701616f256a554292fc3..2ae4fd62e01c4066bd8979632f03fa1a521fd734 100644 (file)
 
 #define MAX_WAIT_SCHED_ENTITY_Q_EMPTY msecs_to_jiffies(1000)
 
+/**
+ * DRM_SCHED_FENCE_DONT_PIPELINE - Prefent dependency pipelining
+ *
+ * Setting this flag on a scheduler fence prevents pipelining of jobs depending
+ * on this fence. In other words we always insert a full CPU round trip before
+ * dependen jobs are pushed to the hw queue.
+ */
+#define DRM_SCHED_FENCE_DONT_PIPELINE  DMA_FENCE_FLAG_USER_BITS
+
 struct drm_gem_object;
 
 struct drm_gpu_scheduler;