aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorZhipeng Gong <zhipeng.gong@intel.com>2015-01-12 19:48:25 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-01-27 03:51:05 -0500
commit08e16dc874e672f1a1472a495c8351b8ce5d34d5 (patch)
treef2148931c9b2b7d218415772c378cea3228cf9af /include/uapi
parent8d360dffd6d8634868e433128d5178bea14cc42c (diff)
drm/i915: add I915_PARAM_HAS_BSD2 to i915_getparam
This will let userland only try to use the new ring when the appropriate kernel is present v2: change the number to be consistent with upstream (Zhipeng) Signed-off-by: Zhipeng Gong <zhipeng.gong@intel.com> Reviewed--by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/i915_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h
index dc845614e80d..6eed16b92a24 100644
--- a/include/uapi/drm/i915_drm.h
+++ b/include/uapi/drm/i915_drm.h
@@ -346,6 +346,7 @@ typedef struct drm_i915_irq_wait {
346#define I915_PARAM_CMD_PARSER_VERSION 28 346#define I915_PARAM_CMD_PARSER_VERSION 28
347#define I915_PARAM_HAS_COHERENT_PHYS_GTT 29 347#define I915_PARAM_HAS_COHERENT_PHYS_GTT 29
348#define I915_PARAM_MMAP_VERSION 30 348#define I915_PARAM_MMAP_VERSION 30
349#define I915_PARAM_HAS_BSD2 31
349 350
350typedef struct drm_i915_getparam { 351typedef struct drm_i915_getparam {
351 int param; 352 int param;