[PATCH] i915: Add I915_PARAM_REVISION

Neil Roberts neil at linux.intel.com
Wed Mar 4 06:37:09 PST 2015


This is a new parameter for DRM_I915_GETPARAM to query the GPU
revision.

Signed-off-by: Neil Roberts <neil at 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
+#define I915_PARAM_REVISION              32
 
 typedef struct drm_i915_getparam {
 	int param;
-- 
1.9.3



More information about the dri-devel mailing list