diff options
author | Eric Anholt <eric@anholt.net> | 2008-07-30 14:10:36 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-07-30 14:10:36 -0700 |
commit | ccbaad52f79162a77d98d0dde00681b1dbf14165 (patch) | |
tree | 4ce1e4a8206d60a617deef6b3002087380999d18 | |
parent | 689548b5270a0049cfaf844013ef61ad4c9eaeea (diff) |
intel-gem: Replace version bump signalling GEM with I915_PARAM_HAS_GEM.
-rw-r--r-- | shared-core/i915_dma.c | 3 | ||||
-rw-r--r-- | shared-core/i915_drm.h | 1 | ||||
-rw-r--r-- | shared-core/i915_drv.h | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index 1f9fa4f7..13ba5b3f 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -900,6 +900,9 @@ static int i915_getparam(struct drm_device *dev, void *data, case I915_PARAM_CHIPSET_ID: value = dev->pci_device; break; + case I915_PARAM_HAS_GEM: + value = 1; + break; default: DRM_ERROR("Unknown parameter %d\n", param->param); return -EINVAL; diff --git a/shared-core/i915_drm.h b/shared-core/i915_drm.h index 9feffeb5..2801687c 100644 --- a/shared-core/i915_drm.h +++ b/shared-core/i915_drm.h @@ -280,6 +280,7 @@ typedef struct drm_i915_irq_wait { #define I915_PARAM_ALLOW_BATCHBUFFER 2 #define I915_PARAM_LAST_DISPATCH 3 #define I915_PARAM_CHIPSET_ID 4 +#define I915_PARAM_HAS_GEM 5 typedef struct drm_i915_getparam { int param; diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h index 0ebdab0c..fe52845e 100644 --- a/shared-core/i915_drv.h +++ b/shared-core/i915_drv.h @@ -37,7 +37,7 @@ #define DRIVER_NAME "i915" #define DRIVER_DESC "Intel Graphics" -#define DRIVER_DATE "20080611" +#define DRIVER_DATE "20080730" #if defined(__linux__) #define I915_HAVE_FENCE @@ -61,7 +61,7 @@ */ #define DRIVER_MAJOR 1 #if defined(I915_HAVE_FENCE) && defined(I915_HAVE_BUFFER) -#define DRIVER_MINOR 14 +#define DRIVER_MINOR 13 #else #define DRIVER_MINOR 6 #endif |