From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 1/2] intel: Sync the parameter of i915_getparma with the kernel Date: Thu, 15 Nov 2012 12:30:46 +0100 Message-ID: <20121115113046.GV5854@phenom.ffwll.local> References: <1352868399-6552-1-git-send-email-haihao.xiang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 37CBD9E951 for ; Thu, 15 Nov 2012 03:29:29 -0800 (PST) Received: by mail-ee0-f49.google.com with SMTP id c1so886168eek.36 for ; Thu, 15 Nov 2012 03:29:28 -0800 (PST) Content-Disposition: inline In-Reply-To: <1352868399-6552-1-git-send-email-haihao.xiang@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: "Xiang, Haihao" Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Nov 14, 2012 at 12:46:38PM +0800, Xiang, Haihao wrote: > From: Zhao Yakui > > Signed-off-by: Zhao Yakui Fyi the best way is to simply run $ make headers_install in the latest kernel tree and copy the resulting userspace header from usr/include/drm/i915_drm.h to libdrm. Otherwise things tend to get out of sync. In the commit message you can then mention up to which kernel commit you've synced. -Daniel > --- > include/drm/i915_drm.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h > index 7e9e9bd..8b069ac 100644 > --- a/include/drm/i915_drm.h > +++ b/include/drm/i915_drm.h > @@ -303,6 +303,8 @@ typedef struct drm_i915_irq_wait { > #define I915_PARAM_HAS_LLC 17 > #define I915_PARAM_HAS_ALIASING_PPGTT 18 > #define I915_PARAM_HAS_WAIT_TIMEOUT 19 > +#define I915_PARAM_HAS_SEMAPHORES 20 > +#define I915_PARAM_HAS_PRIME_VMAP_FLUSH 21 > > typedef struct drm_i915_getparam { > int param; > -- > 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