mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
i915: Remove (mostly) unused IS_915 macro
Inspired by Damien's recent libdrm changes. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
117288dbf3
commit
07a062997a
1 changed files with 3 additions and 5 deletions
|
|
@ -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 || \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue