intel-gem: Replace version bump signalling GEM with I915_PARAM_HAS_GEM.
authorEric Anholt <eric@anholt.net>
Wed, 30 Jul 2008 21:10:36 +0000 (14:10 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 30 Jul 2008 21:10:36 +0000 (14:10 -0700)
shared-core/i915_dma.c
shared-core/i915_drm.h
shared-core/i915_drv.h

index 1f9fa4f..13ba5b3 100644 (file)
@@ -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;
index 9feffeb..2801687 100644 (file)
@@ -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;
index 0ebdab0..fe52845 100644 (file)
@@ -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