summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_chipset.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-07-08 12:12:54 -0700
committerEric Anholt <eric@anholt.net>2010-07-08 12:12:54 -0700
commite72b87736d8453e79bb6da48ba4cfcc2e97c8e14 (patch)
treefd1f59bd2d911763e7465cbda3819247b237b476 /src/mesa/drivers/dri/intel/intel_chipset.h
parentb273928140479f089d45cd2dbc30708306b97ee0 (diff)
intel: Update intel_decode.c from intel-gpu-tools.
This came from commit cf255e382d147fe3ca450f0dcec3525190e7dcbc
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_chipset.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_chipset.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_chipset.h b/src/mesa/drivers/dri/intel/intel_chipset.h
index cd614c59e5..72a74322ee 100644
--- a/src/mesa/drivers/dri/intel/intel_chipset.h
+++ b/src/mesa/drivers/dri/intel/intel_chipset.h
@@ -115,6 +115,9 @@
devid == PCI_CHIP_I946_GZ || \
IS_G4X(devid))
+/* Compat macro for intel_decode.c */
+#define IS_IRONLAKE(devid) IS_GEN5(devid)
+
#define IS_GEN6(devid) (devid == PCI_CHIP_SANDYBRIDGE || \
devid == PCI_CHIP_SANDYBRIDGE_M)