summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm_pciids.txt1
-rw-r--r--shared-core/i915_dma.c4
-rw-r--r--shared-core/i915_drv.h10
3 files changed, 6 insertions, 9 deletions
diff --git a/shared-core/drm_pciids.txt b/shared-core/drm_pciids.txt
index e5484c41..a72b0e44 100644
--- a/shared-core/drm_pciids.txt
+++ b/shared-core/drm_pciids.txt
@@ -204,4 +204,5 @@
0x8086 0x3582 0 "Intel i852GM/i855GM GMCH"
0x8086 0x2572 0 "Intel i865G GMCH"
0x8086 0x2582 0 "Intel i915G"
+0x8086 0x2982 0 "Intel i915GM"
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index 8d986129..fea848f0 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -209,7 +209,7 @@ static int i915_initialize(drm_device_t * dev,
return 0;
}
-static int i915_resume(drm_device_t * dev)
+static int i915_dma_resume(drm_device_t * dev)
{
drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
@@ -266,7 +266,7 @@ int i915_dma_init(DRM_IOCTL_ARGS)
retcode = i915_dma_cleanup(dev);
break;
case I915_RESUME_DMA:
- retcode = i915_resume(dev);
+ retcode = i915_dma_resume(dev);
break;
default:
retcode = -EINVAL;
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 19f8c0ad..9e470b88 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -17,21 +17,17 @@
#define DRIVER_NAME "i915"
#define DRIVER_DESC "Intel Graphics"
-#define DRIVER_DATE "20040405"
+#define DRIVER_DATE "20041217"
/* Interface history:
*
* 1.1: Original.
+ * 1.2: Add Power Management
*/
#define DRIVER_MAJOR 1
-#define DRIVER_MINOR 1
+#define DRIVER_MINOR 2
#define DRIVER_PATCHLEVEL 0
-/* We use our own dma mechanisms, not the drm template code. However,
- * the shared IRQ code is useful to us:
- */
-#define __HAVE_PM 1
-
typedef struct _drm_i915_ring_buffer {
int tail_mask;
unsigned long Start;