[i915] Fix missing symbol from 965 changes.
authorEric Anholt <eric@anholt.net>
Sun, 16 Dec 2007 21:00:23 +0000 (13:00 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 16 Dec 2007 21:00:23 +0000 (13:00 -0800)
src/mesa/drivers/dri/intel/intel_chipset.h
src/mesa/drivers/dri/intel/intel_mipmap_tree.c

index 2f49bf77ea1217460eaf7346c5c9168329d9b73c..4fc4c963765099193b6ce287da00bc23707c2e6f 100644 (file)
@@ -76,3 +76,9 @@
                                 devid == PCI_CHIP_Q33_G || \
                                 IS_965(devid))
 
+#define IS_945(devid)          (devid == PCI_CHIP_I945_G || \
+                                devid == PCI_CHIP_I945_GM || \
+                                devid == PCI_CHIP_I945_GME || \
+                                devid == PCI_CHIP_G33_G || \
+                                devid == PCI_CHIP_Q33_G || \
+                                devid == PCI_CHIP_Q35_G)
index 4d36fc0025ba459a3a109ed9b2ac224c2abbe827..3517939066ff5e05ae716fe1ed999a53035703d4 100644 (file)
@@ -28,6 +28,7 @@
 #include "intel_context.h"
 #include "intel_mipmap_tree.h"
 #include "intel_regions.h"
+#include "intel_chipset.h"
 #include "enums.h"
 
 #define FILE_DEBUG_FLAG DEBUG_MIPTREE