public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Xiang, Haihao" <haihao.xiang@intel.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/2] intel: Sync the parameter of i915_getparma with the kernel
Date: Fri, 16 Nov 2012 09:52:44 +0800	[thread overview]
Message-ID: <1353030764.3125.42.camel@xhh-ilk32> (raw)
In-Reply-To: <20121115113046.GV5854@phenom.ffwll.local>

On Thu, 2012-11-15 at 12:30 +0100, Daniel Vetter wrote: 
> On Wed, Nov 14, 2012 at 12:46:38PM +0800, Xiang, Haihao wrote:
> > From: Zhao Yakui <yakui.zhao@intel.com>
> > 
> > Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
> 
> 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


Thanks for your comment. But it will bring some changes to the existent
data structures by this way, such as 

-struct drm_i915_gem_cacheing {
+struct drm_i915_gem_caching {

Is this what we want ?

Thanks
Haihao


> 
> > ---
> >  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
> 

  reply	other threads:[~2012-11-16  1:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-14  4:46 [PATCH 1/2] intel: Sync the parameter of i915_getparma with the kernel Xiang, Haihao
2012-11-14  4:46 ` [PATCH 2/2] intel: Add support for VEBOX ring (v2) Xiang, Haihao
2013-04-27 18:35   ` Ben Widawsky
2012-11-15 11:30 ` [PATCH 1/2] intel: Sync the parameter of i915_getparma with the kernel Daniel Vetter
2012-11-16  1:52   ` Xiang, Haihao [this message]
2012-11-16  8:10     ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1353030764.3125.42.camel@xhh-ilk32 \
    --to=haihao.xiang@intel.com \
    --cc=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox