diff mbox

[RFC,libdrm] intel: Add support for resource streamer

Message ID 1373291258-19225-1-git-send-email-abdiel.janulgue@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Abdiel Janulgue July 8, 2013, 1:47 p.m. UTC
Expose defines for resource streamer controls.
Based on the work of: Lukasz Anaczkowski <lukasz.anaczkowski@intel.com>

Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
---
 include/drm/i915_drm.h |    1 +
 1 file changed, 1 insertion(+)

Comments

Daniel Vetter July 8, 2013, 8:10 p.m. UTC | #1
On Mon, Jul 08, 2013 at 04:47:38PM +0300, Abdiel Janulgue wrote:
> Expose defines for resource streamer controls.
> Based on the work of: Lukasz Anaczkowski <lukasz.anaczkowski@intel.com>
> 
> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>

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

> ---
>  include/drm/i915_drm.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
> index aa983f3..8ddda40 100644
> --- a/include/drm/i915_drm.h
> +++ b/include/drm/i915_drm.h
> @@ -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
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
diff mbox

Patch

diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index aa983f3..8ddda40 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -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