Skip to contentSkip to conversation

intel: Add support for resource streamer

RFC PATCH In review Abdiel Janulgue 2 participants 2 messages Jul 8, 2013 DRM drivers

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 intel: Add support for resource streamer

Expose defines for resource streamer controls.
Based on the work of: Lukasz Anaczkowski <[email protected]>

---
 include/drm/i915_drm.h |    1 +
 1 file changed, 1 insertion(+)
include/drm/i915_drm.h +1 -0
index aa983f3..8ddda40 100644
@@ -651,6 +651,7 @@ struct drm_i915_gem_execbuffer2 {
 #define I915_EXEC_BSD                    (2<<0)
 #define I915_EXEC_BLT                    (3<<0)
 #define I915_EXEC_VEBOX                  (4<<0)
+#define I915_EXEC_RS                     (8<<0)
 
 /* Used for switching the constants addressing mode on gen4+ RENDER ring.
  * Gen6+ only supports relative addressing to dynamic state (default) and
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 4 lines · Abdiel Janulgue

Expose defines for resource streamer controls.
Based on the work of: Lukasz Anaczkowski <[email protected]>

Note that drm header patches should be generated by running

$ make headers_install

in (patched) kernel sources and then copying the new headers over to libdrm. We tend to get it wrong quite often though and introduce random whitespace changes ...
-Daniel

Quoted 23 lines
---
 include/drm/i915_drm.h |    1 +
 1 file changed, 1 insertion(+)
include/drm/i915_drm.h +1 -0
index aa983f3..8ddda40 100644
@@ -651,6 +651,7 @@ struct drm_i915_gem_execbuffer2 {
 #define I915_EXEC_BSD                    (2<<0)
 #define I915_EXEC_BLT                    (3<<0)
 #define I915_EXEC_VEBOX                  (4<<0)
+#define I915_EXEC_RS                     (8<<0)
 
 /* Used for switching the constants addressing mode on gen4+ RENDER ring.
  * Gen6+ only supports relative addressing to dynamic state (default) and
Signature · 6 lines
1.7.9.5

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch