diff options
author | Zou Nan hai <nanhai.zou@intel.com> | 2010-05-31 01:58:47 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-01 14:21:09 -0400 |
commit | e3a815fcd38043b8f1bb526123d8ab6ae01deb77 (patch) | |
tree | 903c75fcd0e5cc7ef20885562c7807de23323968 /include/drm | |
parent | 9bc354998f8aa8a83b0cd430e8fcf2cbc3be7367 (diff) |
drm/i915: add HAS_BSD check to i915_getparam
This will let userland only try to use the new media decode
functionality when the appropriate kernel is present.
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/i915_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index e9168704cabe..7f0028e1010b 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h | |||
@@ -275,6 +275,7 @@ typedef struct drm_i915_irq_wait { | |||
275 | #define I915_PARAM_HAS_OVERLAY 7 | 275 | #define I915_PARAM_HAS_OVERLAY 7 |
276 | #define I915_PARAM_HAS_PAGEFLIPPING 8 | 276 | #define I915_PARAM_HAS_PAGEFLIPPING 8 |
277 | #define I915_PARAM_HAS_EXECBUF2 9 | 277 | #define I915_PARAM_HAS_EXECBUF2 9 |
278 | #define I915_PARAM_HAS_BSD 10 | ||
278 | 279 | ||
279 | typedef struct drm_i915_getparam { | 280 | typedef struct drm_i915_getparam { |
280 | int param; | 281 | int param; |