From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 2/2] intel: Add I915_PARAM_HAS_ATOMICS. Date: Thu, 3 Oct 2013 09:32:36 +0200 Message-ID: <20131003073235.GC31334@phenom.ffwll.local> References: <1380751560-8855-1-git-send-email-currojerez@riseup.net> <1380751560-8855-2-git-send-email-currojerez@riseup.net> <20131002223225.GB6580@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f173.google.com (mail-ea0-f173.google.com [209.85.215.173]) by gabe.freedesktop.org (Postfix) with ESMTP id EC39FE5EDD for ; Thu, 3 Oct 2013 00:32:19 -0700 (PDT) Received: by mail-ea0-f173.google.com with SMTP id g10so895781eak.18 for ; Thu, 03 Oct 2013 00:32:17 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20131002223225.GB6580@bwidawsk.net> 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: Ben Widawsky Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Oct 02, 2013 at 03:32:25PM -0700, Ben Widawsky wrote: > On Wed, Oct 02, 2013 at 03:06:00PM -0700, Francisco Jerez wrote: > > Signed-off-by: Francisco Jerez > > --- > > 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 f3be97a..d2a1018 100644 > > --- a/include/drm/i915_drm.h > > +++ b/include/drm/i915_drm.h > > @@ -311,6 +311,7 @@ typedef struct drm_i915_irq_wait { > > #define I915_PARAM_HAS_EXEC_NO_RELOC 25 > > #define I915_PARAM_HAS_EXEC_HANDLE_LUT 26 > > #define I915_PARAM_HAS_WT 27 > > +#define I915_PARAM_HAS_ATOMICS 28 > > > > typedef struct drm_i915_getparam { > > int param; > > Both of these look fine to me. I thought we had a more automated way of > doing this, though I cannot recall. > > Acked-by: Ben Widawsky make headers_install + copy it to libdrm + git commit is the most automated way ... -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch