diff options
author | Ian Romanick <[email protected]> | 2015-03-05 10:55:32 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-03-09 14:09:16 -0700 |
commit | 07a062997a3e1c12ad0e07a7d3f07340689612b8 (patch) | |
tree | a6429c0f4458939685c30efc4bd588bab8c4b9d7 /src/mesa | |
parent | 117288dbf305064cd57333bb05442fad0539d0fa (diff) |
i915: Remove (mostly) unused IS_915 macro
Inspired by Damien's recent libdrm changes.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Damien Lespiau <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_chipset.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_chipset.h b/src/mesa/drivers/dri/i915/intel_chipset.h index cbcdb140438..d33a80f7637 100644 --- a/src/mesa/drivers/dri/i915/intel_chipset.h +++ b/src/mesa/drivers/dri/i915/intel_chipset.h @@ -49,10 +49,6 @@ #define PCI_CHIP_PNV_GM 0xA011 #define PCI_CHIP_PNV_G 0xA001 -#define IS_915(devid) (devid == PCI_CHIP_I915_G || \ - devid == PCI_CHIP_E7221_G || \ - devid == PCI_CHIP_I915_GM) - #define IS_945(devid) (devid == PCI_CHIP_I945_G || \ devid == PCI_CHIP_I945_GM || \ devid == PCI_CHIP_I945_GME || \ @@ -62,7 +58,9 @@ devid == PCI_CHIP_PNV_G || \ devid == PCI_CHIP_PNV_GM) -#define IS_GEN3(devid) (IS_915(devid) || \ +#define IS_GEN3(devid) (devid == PCI_CHIP_I915_G || \ + devid == PCI_CHIP_E7221_G || \ + devid == PCI_CHIP_I915_GM || \ IS_945(devid)) #define IS_GEN2(devid) (devid == PCI_CHIP_I830_M || \ |