summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/drm_pciids.txt1
-rw-r--r--shared/i915.h10
-rw-r--r--shared/i915_dma.c4
3 files changed, 6 insertions, 9 deletions
diff --git a/shared/drm_pciids.txt b/shared/drm_pciids.txt
index 8532043e..f48e6d0e 100644
--- a/shared/drm_pciids.txt
+++ b/shared/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 0x2592 0 "Intel i915GM"
diff --git a/shared/i915.h b/shared/i915.h
index d76d737b..360665ae 100644
--- a/shared/i915.h
+++ b/shared/i915.h
@@ -21,14 +21,15 @@
#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
#define DRIVER_IOCTLS \
@@ -45,9 +46,4 @@
[DRM_IOCTL_NR(DRM_IOCTL_I915_INIT_HEAP)] = { i915_mem_init_heap, 1, 1 }, \
[DRM_IOCTL_NR(DRM_IOCTL_I915_CMDBUFFER)] = { i915_cmdbuffer, 1, 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
-
#endif
diff --git a/shared/i915_dma.c b/shared/i915_dma.c
index 5aa287d6..14f7fd6e 100644
--- a/shared/i915_dma.c
+++ b/shared/i915_dma.c
@@ -207,7 +207,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;
@@ -264,7 +264,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;