[PATCH] i915: fix missing G33 detect in IS_I9XX
authorZhenyu Wang <zhenyu.z.wang@intel.com>
Tue, 6 Nov 2007 06:59:14 +0000 (17:59 +1100)
committerDave Airlie <airlied@linux.ie>
Tue, 6 Nov 2007 06:59:14 +0000 (17:59 +1100)
G33 detect seems missing with Jesse's suspend/resume patch.

shared-core/i915_drv.h

index 91d4ac0f671cd4f54bbf2494461e8f6d8fcc8cac..c66b0651a486f43a8a4f6dcc3f07f20054e29e1a 100644 (file)
@@ -1173,7 +1173,7 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller);
                        (dev)->pci_device == 0x29D2)
 
 #define IS_I9XX(dev) (IS_I915G(dev) || IS_I915GM(dev) || IS_I945G(dev) || \
-                     IS_I945GM(dev) || IS_I965G(dev))
+                     IS_I945GM(dev) || IS_I965G(dev) || IS_G33(dev))
 
 #define IS_MOBILE(dev) (IS_I830(dev) || IS_I85X(dev) || IS_I915GM(dev) || \
                        IS_I945GM(dev) || IS_I965GM(dev))