i915: For the love of all that is holy, stop saying "IGD"
authorAdam Jackson <ajax@redhat.com>
Wed, 28 Jan 2015 21:28:12 +0000 (16:28 -0500)
committerAdam Jackson <ajax@redhat.com>
Wed, 18 Feb 2015 19:51:16 +0000 (14:51 -0500)
a001 and a011 are pineview chips.  Say so.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
include/pci_ids/i915_pci_ids.h
src/mesa/drivers/dri/i915/intel_chipset.h

index 7d51975c3a8f5974647e3ee1d252562933caed7c..1c43c8ec7988305a504fc284a00d1be7c3a9747c 100644 (file)
@@ -11,5 +11,5 @@ CHIPSET(0x27AE, I945_GME, "Intel(R) 945GME")
 CHIPSET(0x29B2, Q35_G,    "Intel(R) Q35")
 CHIPSET(0x29C2, G33_G,    "Intel(R) G33")
 CHIPSET(0x29D2, Q33_G,    "Intel(R) Q33")
-CHIPSET(0xA011, IGD_GM,   "Intel(R) IGD")
-CHIPSET(0xA001, IGD_G,    "Intel(R) IGD")
+CHIPSET(0xA011, PNV_GM,   "Intel(R) Pineview M")
+CHIPSET(0xA001, PNV_G,    "Intel(R) Pineview")
index 8375a4b4dab8b392f26c2976a087ddb90e502ce3..3828085531039b1d14bfcd04e1e548477ff0f490 100644 (file)
 #define PCI_CHIP_G33_G                 0x29C2
 #define PCI_CHIP_Q33_G                 0x29D2
 
-#define PCI_CHIP_IGD_GM                        0xA011
-#define PCI_CHIP_IGD_G                 0xA001
+#define PCI_CHIP_PNV_GM                        0xA011
+#define PCI_CHIP_PNV_G                 0xA001
 
-#define IS_IGDGM(devid)        (devid == PCI_CHIP_IGD_GM)
-#define IS_IGDG(devid) (devid == PCI_CHIP_IGD_G)
-#define IS_IGD(devid) (IS_IGDG(devid) || IS_IGDGM(devid))
+#define IS_PNVGM(devid)        (devid == PCI_CHIP_PNV_GM)
+#define IS_PNVG(devid) (devid == PCI_CHIP_PNV_G)
+#define IS_PNV(devid) (IS_PNVG(devid) || IS_PNVGM(devid))
 
 #define IS_MOBILE(devid)       (devid == PCI_CHIP_I855_GM || \
                                 devid == PCI_CHIP_I915_GM || \
@@ -60,7 +60,7 @@
                                 devid == PCI_CHIP_I965_GM || \
                                 devid == PCI_CHIP_I965_GME || \
                                 devid == PCI_CHIP_GM45_GM || \
-                                IS_IGD(devid) || \
+                                IS_PNV(devid) || \
                                 devid == PCI_CHIP_ILM_G)
 
 #define IS_915(devid)          (devid == PCI_CHIP_I915_G || \
@@ -72,7 +72,7 @@
                                 devid == PCI_CHIP_I945_GME || \
                                 devid == PCI_CHIP_G33_G || \
                                 devid == PCI_CHIP_Q33_G || \
-                                devid == PCI_CHIP_Q35_G || IS_IGD(devid))
+                                devid == PCI_CHIP_Q35_G || IS_PNV(devid))
 
 #define IS_9XX(devid)          (IS_915(devid) || \
                                 IS_945(devid))