summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jesse.barnes@intel.com>2007-09-24 15:40:55 -0700
committerJesse Barnes <jesse.barnes@intel.com>2007-09-24 15:40:55 -0700
commit0be6e919aa3e7af884980e2004755848a2aa7519 (patch)
tree1fa61914a5e66e4c88fb0870a9690e277e5b4bb4
parent5cc3083179b19678456905a9122a3d0f04e6f623 (diff)
Add 965GM macro bits
Update IS_MOBILE macro to include new IS_I965GM test.
-rw-r--r--shared-core/i915_drv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index d6b64b61..2d2d3a20 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -1160,6 +1160,7 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller);
(dev)->pci_device == 0x2A02 || \
(dev)->pci_device == 0x2A12)
+#define IS_I965GM(dev) (((dev)->pci_device == 0x2A02))
#define IS_I9XX(dev) (IS_I915G(dev) || IS_I915GM(dev) || IS_I945G(dev) || \
IS_I945GM(dev) || IS_I965G(dev))
@@ -1169,7 +1170,7 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller);
(dev)->pci_device == 0x29D2)
#define IS_MOBILE(dev) (IS_I830(dev) || IS_I85X(dev) || IS_I915GM(dev) || \
- IS_I945GM(dev))
+ IS_I945GM(dev) || IS_I965GM(dev))
#define PRIMARY_RINGBUFFER_SIZE (128*1024)