aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/i915_drm.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h
index f88cc1cac5d9..e7c29f1659ad 100644
--- a/include/uapi/drm/i915_drm.h
+++ b/include/uapi/drm/i915_drm.h
@@ -355,6 +355,7 @@ typedef struct drm_i915_irq_wait {
355#define I915_PARAM_SUBSLICE_TOTAL 33 355#define I915_PARAM_SUBSLICE_TOTAL 33
356#define I915_PARAM_EU_TOTAL 34 356#define I915_PARAM_EU_TOTAL 34
357#define I915_PARAM_HAS_GPU_RESET 35 357#define I915_PARAM_HAS_GPU_RESET 35
358#define I915_PARAM_HAS_RESOURCE_STREAMER 36
358 359
359typedef struct drm_i915_getparam { 360typedef struct drm_i915_getparam {
360 int param; 361 int param;
@@ -765,7 +766,12 @@ struct drm_i915_gem_execbuffer2 {
765#define I915_EXEC_BSD_RING1 (1<<13) 766#define I915_EXEC_BSD_RING1 (1<<13)
766#define I915_EXEC_BSD_RING2 (2<<13) 767#define I915_EXEC_BSD_RING2 (2<<13)
767 768
768#define __I915_EXEC_UNKNOWN_FLAGS -(1<<15) 769/** Tell the kernel that the batchbuffer is processed by
770 * the resource streamer.
771 */
772#define I915_EXEC_RESOURCE_STREAMER (1<<15)
773
774#define __I915_EXEC_UNKNOWN_FLAGS -(I915_EXEC_RESOURCE_STREAMER<<1)
769 775
770#define I915_EXEC_CONTEXT_ID_MASK (0xffffffff) 776#define I915_EXEC_CONTEXT_ID_MASK (0xffffffff)
771#define i915_execbuffer2_set_context_id(eb2, context) \ 777#define i915_execbuffer2_set_context_id(eb2, context) \