From: Daniel Vetter Subject: Re: [RFC libdrm PATCH] intel: Add support for resource streamer Date: Mon, 8 Jul 2013 22:10:32 +0200 Message-ID: <20130708201032.GJ18285@phenom.ffwll.local> References: <1373291258-19225-1-git-send-email-abdiel.janulgue@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 5DB88E5D0D for ; Mon, 8 Jul 2013 13:10:31 -0700 (PDT) Received: by mail-ee0-f47.google.com with SMTP id e49so3036547eek.6 for ; Mon, 08 Jul 2013 13:10:30 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1373291258-19225-1-git-send-email-abdiel.janulgue@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Abdiel Janulgue Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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 > > Signed-off-by: Abdiel Janulgue 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 -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch