summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorremko <remko@FreeBSD.org>2008-03-21 16:38:42 +0000
committerremko <remko@FreeBSD.org>2008-03-21 16:38:42 +0000
commit29b5baab7cba0cce91332367194745a985e175de (patch)
tree45a3e01809092a1db5b435975ad3aae83421fe3f
parentbc4bc893dde44239a2bc191651de91ae016c84d1 (diff)
downloadFreeBSD-src-29b5baab7cba0cce91332367194745a985e175de.zip
FreeBSD-src-29b5baab7cba0cce91332367194745a985e175de.tar.gz
Add the i915 GME device to DRM.
PR: kern/121808 Submitted by: Volker Werth <volker at vwsoft dot com> Approved by: imp (mentor, implicit for trivial changes) MFC after: 3 days
-rw-r--r--sys/dev/drm/drm_pciids.h1
-rw-r--r--sys/dev/drm/i915_dma.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_pciids.h b/sys/dev/drm/drm_pciids.h
index ecc7347..75f0e2d 100644
--- a/sys/dev/drm/drm_pciids.h
+++ b/sys/dev/drm/drm_pciids.h
@@ -294,6 +294,7 @@
{0x8086, 0x2992, 0, "Intel i965Q"}, \
{0x8086, 0x29A2, 0, "Intel i965G"}, \
{0x8086, 0x2A02, 0, "Intel i965GM"}, \
+ {0x8086, 0x2A12, 0, "Intel i965GME"}, \
{0, 0, 0, NULL}
#define imagine_PCI_IDS \
diff --git a/sys/dev/drm/i915_dma.c b/sys/dev/drm/i915_dma.c
index 9fe278a..a5e7da9 100644
--- a/sys/dev/drm/i915_dma.c
+++ b/sys/dev/drm/i915_dma.c
@@ -37,7 +37,8 @@ __FBSDID("$FreeBSD$");
#define IS_I965G(dev) (dev->pci_device == 0x2972 || \
dev->pci_device == 0x2982 || \
dev->pci_device == 0x2992 || \
- dev->pci_device == 0x29A2)
+ dev->pci_device == 0x29A2 || \
+ dev->pci_device == 0x2A12 )
/* Really want an OS-independent resettable timer. Would like to have
OpenPOWER on IntegriCloud