|
@@ -355,6 +355,7 @@ typedef struct drm_i915_irq_wait {
|
|
#define I915_PARAM_SUBSLICE_TOTAL 33
|
|
#define I915_PARAM_SUBSLICE_TOTAL 33
|
|
#define I915_PARAM_EU_TOTAL 34
|
|
#define I915_PARAM_EU_TOTAL 34
|
|
#define I915_PARAM_HAS_GPU_RESET 35
|
|
#define I915_PARAM_HAS_GPU_RESET 35
|
|
|
|
+#define I915_PARAM_HAS_RESOURCE_STREAMER 36
|
|
|
|
|
|
typedef struct drm_i915_getparam {
|
|
typedef struct drm_i915_getparam {
|
|
int param;
|
|
int param;
|
|
@@ -765,7 +766,12 @@ struct drm_i915_gem_execbuffer2 {
|
|
#define I915_EXEC_BSD_RING1 (1<<13)
|
|
#define I915_EXEC_BSD_RING1 (1<<13)
|
|
#define I915_EXEC_BSD_RING2 (2<<13)
|
|
#define I915_EXEC_BSD_RING2 (2<<13)
|
|
|
|
|
|
-#define __I915_EXEC_UNKNOWN_FLAGS -(1<<15)
|
|
|
|
|
|
+/** Tell the kernel that the batchbuffer is processed by
|
|
|
|
+ * the resource streamer.
|
|
|
|
+ */
|
|
|
|
+#define I915_EXEC_RESOURCE_STREAMER (1<<15)
|
|
|
|
+
|
|
|
|
+#define __I915_EXEC_UNKNOWN_FLAGS -(I915_EXEC_RESOURCE_STREAMER<<1)
|
|
|
|
|
|
#define I915_EXEC_CONTEXT_ID_MASK (0xffffffff)
|
|
#define I915_EXEC_CONTEXT_ID_MASK (0xffffffff)
|
|
#define i915_execbuffer2_set_context_id(eb2, context) \
|
|
#define i915_execbuffer2_set_context_id(eb2, context) \
|