On Wed, Mar 04, 2015 at 02:37:09PM +0000, Neil Roberts wrote: > This is a new parameter for DRM_I915_GETPARAM to query the GPU > revision. > > Signed-off-by: Neil Roberts <neil@xxxxxxxxxxxxxxx> > --- > 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 15dd01d..943a9d9 100644 > --- a/include/drm/i915_drm.h > +++ b/include/drm/i915_drm.h > @@ -340,6 +340,7 @@ typedef struct drm_i915_irq_wait { > #define I915_PARAM_HAS_EXEC_HANDLE_LUT 26 > #define I915_PARAM_HAS_WT 27 > #define I915_PARAM_CMD_PARSER_VERSION 28 This gap isn't good and means you've manually added this line. Please use the make headers_install target from the kernel and update the entire i915_drm.h file from the generated one. Thanks, Daniel > +#define I915_PARAM_REVISION 32 > > typedef struct drm_i915_getparam { > int param; > -- > 1.9.3 > > _______________________________________________ > dri-devel mailing list > dri-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel