[Intel-gfx] [RFC libdrm PATCH] intel: Add support for resource streamer

Daniel Vetter daniel at ffwll.ch
Mon Jul 8 22:10:32 CEST 2013


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 at intel.com>
> 
> Signed-off-by: Abdiel Janulgue <abdiel.janulgue at 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list