All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] intel: Update param definitions from the kernel headers.
@ 2013-10-02 22:05 Francisco Jerez
  2013-10-02 22:06 ` [PATCH 2/2] intel: Add I915_PARAM_HAS_ATOMICS Francisco Jerez
  0 siblings, 1 reply; 4+ messages in thread
From: Francisco Jerez @ 2013-10-02 22:05 UTC (permalink / raw)
  To: intel-gfx; +Cc: Ben Widawsky

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
---
 include/drm/i915_drm.h | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index aa983f3..f3be97a 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -303,7 +303,14 @@ 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_VEBOX            22
+#define I915_PARAM_HAS_SEMAPHORES	 20
+#define I915_PARAM_HAS_PRIME_VMAP_FLUSH	 21
+#define I915_PARAM_HAS_VEBOX		 22
+#define I915_PARAM_HAS_SECURE_BATCHES	 23
+#define I915_PARAM_HAS_PINNED_BATCHES	 24
+#define I915_PARAM_HAS_EXEC_NO_RELOC	 25
+#define I915_PARAM_HAS_EXEC_HANDLE_LUT   26
+#define I915_PARAM_HAS_WT     	 	 27
 
 typedef struct drm_i915_getparam {
 	int param;
-- 
1.8.3.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] intel: Add I915_PARAM_HAS_ATOMICS.
  2013-10-02 22:05 [PATCH 1/2] intel: Update param definitions from the kernel headers Francisco Jerez
@ 2013-10-02 22:06 ` Francisco Jerez
  2013-10-02 22:32   ` Ben Widawsky
  0 siblings, 1 reply; 4+ messages in thread
From: Francisco Jerez @ 2013-10-02 22:06 UTC (permalink / raw)
  To: intel-gfx; +Cc: Ben Widawsky

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
---
 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;
-- 
1.8.3.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] intel: Add I915_PARAM_HAS_ATOMICS.
  2013-10-02 22:06 ` [PATCH 2/2] intel: Add I915_PARAM_HAS_ATOMICS Francisco Jerez
@ 2013-10-02 22:32   ` Ben Widawsky
  2013-10-03  7:32     ` Daniel Vetter
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Widawsky @ 2013-10-02 22:32 UTC (permalink / raw)
  To: Francisco Jerez; +Cc: intel-gfx

On Wed, Oct 02, 2013 at 03:06:00PM -0700, Francisco Jerez wrote:
> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
> ---
>  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 <ben@bwidawsk.net>

-- 
Ben Widawsky, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] intel: Add I915_PARAM_HAS_ATOMICS.
  2013-10-02 22:32   ` Ben Widawsky
@ 2013-10-03  7:32     ` Daniel Vetter
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Vetter @ 2013-10-03  7:32 UTC (permalink / raw)
  To: Ben Widawsky; +Cc: intel-gfx

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 <currojerez@riseup.net>
> > ---
> >  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 <ben@bwidawsk.net>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-03  7:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-02 22:05 [PATCH 1/2] intel: Update param definitions from the kernel headers Francisco Jerez
2013-10-02 22:06 ` [PATCH 2/2] intel: Add I915_PARAM_HAS_ATOMICS Francisco Jerez
2013-10-02 22:32   ` Ben Widawsky
2013-10-03  7:32     ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.