On 4 March 2015 at 18:02, Daniel Vetter daniel@ffwll.ch wrote:
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@linux.intel.com
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.
Up-to recently it was broken, so I'm guessing that no-one ran it since the great uapi header move. Would be nice if we can go back to using it - after all that's why I've fixed it :-)
-Emil