From: Daniel Vetter <daniel@ffwll.ch>
To: "Xiang, Haihao" <haihao.xiang@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/2] intel: Sync the parameter of i915_getparma with the kernel
Date: Thu, 15 Nov 2012 12:30:46 +0100 [thread overview]
Message-ID: <20121115113046.GV5854@phenom.ffwll.local> (raw)
In-Reply-To: <1352868399-6552-1-git-send-email-haihao.xiang@intel.com>
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
> ---
> 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
next prev parent reply other threads:[~2012-11-15 11:29 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 ` Daniel Vetter [this message]
2012-11-16 1:52 ` [PATCH 1/2] intel: Sync the parameter of i915_getparma with the kernel Xiang, Haihao
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=20121115113046.GV5854@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=haihao.xiang@intel.com \
--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