summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-11-07 19:51:21 +0100
committerMartin Roth <martinroth@google.com>2017-12-20 16:41:46 +0000
commit2d26a369102c120d5174aba63df610f5703b4f06 (patch)
tree035b4ea32ed5a75a2cbe8b362357b9c94cf9be52 /util
parent0ade8f5ab1a4ea2b39d994cc125487b4fa764b28 (diff)
downloadcoreboot-2d26a369102c120d5174aba63df610f5703b4f06.tar.xz
util/inteltool: Add GPU device IDs
Add PCI device IDs for several Intel GPUs. Change-Id: I7d6ba16b2b115187fd57a31716f23a610b520d3e Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/22431 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'util')
-rw-r--r--util/inteltool/inteltool.c81
-rw-r--r--util/inteltool/inteltool.h42
2 files changed, 123 insertions, 0 deletions
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index ff572a31de..32801df02e 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -219,6 +219,87 @@ static const struct {
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HM175, "HM175" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_QM175, "QM175" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CM238, "CM238" },
+ /* Intel GPUs */
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_G35_EXPRESS,
+ "Intel(R) G35 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_G35_EXPRESS_1,
+ "Intel(R) G35 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_965_EXPRESS,
+ "Mobile Intel(R) 965 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_965_EXPRESS_1,
+ "Mobile Intel(R) 965 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_965_EXPRESS_2,
+ "Mobile Intel(R) 965 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_965_EXPRESS_3,
+ "Mobile Intel(R) 965 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_4_SERIES,
+ "Mobile Intel(R) 4 Series Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_4_SERIES_1,
+ "Mobile Intel(R) 4 Series Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_G45,
+ "Intel(R) G45/G43 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_G45_1,
+ "Intel(R) G45/G43 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_Q45,
+ "Intel(R) Q45/Q43 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_Q45_1,
+ "Intel(R) Q45/Q43 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_G41,
+ "Intel(R) G41 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_G41_1,
+ "Intel(R) G41 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_B43,
+ "Intel(R) B43 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_B43_1,
+ "Intel(R) B43 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_B43_2,
+ "Intel(R) B43 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_B43_3,
+ "Intel(R) B43 Express Chipset Family" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_GRAPHICS,
+ "Intel(R) HD Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_GRAPHICS_1,
+ "Intel(R) HD Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_GRAPHICS_2,
+ "Intel(R) HD Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_2000,
+ "Intel(R) HD 2000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_2000_1,
+ "Intel(R) HD 2000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_3000,
+ "Intel(R) HD 3000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_3000_1,
+ "Intel(R) HD 3000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_3000_2,
+ "Intel(R) HD 3000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_3000_3,
+ "Intel(R) HD 3000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_3000_4,
+ "Intel(R) HD 3000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_3000_5,
+ "Intel(R) HD 3000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_2500,
+ "Intel(R) HD 2500 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_2500_1,
+ "Intel(R) HD 2500 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_2500_2,
+ "Intel(R) HD 2500 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_4000,
+ "Intel(R) HD 4000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_4000_1,
+ "Intel(R) HD 4000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_4000_2,
+ "Intel(R) HD 4000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_4600,
+ "Intel(R) HD 4600 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_4600_1,
+ "Intel(R) HD 4600 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_5000,
+ "Intel(R) HD 5000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_5000_1,
+ "Intel(R) HD 5000 Graphics" },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_5000_2,
+ "Intel(R) HD 5000 Graphics" },
};
#ifndef __DARWIN__
diff --git a/util/inteltool/inteltool.h b/util/inteltool/inteltool.h
index 59cd6ea00e..37a13373b9 100644
--- a/util/inteltool/inteltool.h
+++ b/util/inteltool/inteltool.h
@@ -225,6 +225,48 @@ static inline uint32_t inl(unsigned port)
#define PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_M 0x1910 /* Skylake (Mobile) */
#define PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_WST 0x1918
+/* Intel GPUs */
+#define PCI_DEVICE_ID_INTEL_G35_EXPRESS 0x2982
+#define PCI_DEVICE_ID_INTEL_G35_EXPRESS_1 0x2983
+#define PCI_DEVICE_ID_INTEL_965_EXPRESS 0x2a02
+#define PCI_DEVICE_ID_INTEL_965_EXPRESS_1 0x2a03
+#define PCI_DEVICE_ID_INTEL_965_EXPRESS_2 0x2a12
+#define PCI_DEVICE_ID_INTEL_965_EXPRESS_3 0x2a13
+#define PCI_DEVICE_ID_INTEL_4_SERIES 0x2a42
+#define PCI_DEVICE_ID_INTEL_4_SERIES_1 0x2a43
+#define PCI_DEVICE_ID_INTEL_G45 0x2e22
+#define PCI_DEVICE_ID_INTEL_G45_1 0x2e23
+#define PCI_DEVICE_ID_INTEL_Q45 0x2e12
+#define PCI_DEVICE_ID_INTEL_Q45_1 0x2e13
+#define PCI_DEVICE_ID_INTEL_G41 0x2e32
+#define PCI_DEVICE_ID_INTEL_G41_1 0x2e33
+#define PCI_DEVICE_ID_INTEL_B43 0x2e42
+#define PCI_DEVICE_ID_INTEL_B43_1 0x2e43
+#define PCI_DEVICE_ID_INTEL_B43_2 0x2e92
+#define PCI_DEVICE_ID_INTEL_B43_3 0x2e93
+#define PCI_DEVICE_ID_INTEL_HD_GRAPHICS 0x0046
+#define PCI_DEVICE_ID_INTEL_HD_GRAPHICS_1 0x0042
+#define PCI_DEVICE_ID_INTEL_HD_GRAPHICS_2 0x0106
+#define PCI_DEVICE_ID_INTEL_HD_2000 0x0102
+#define PCI_DEVICE_ID_INTEL_HD_2000_1 0x0106
+#define PCI_DEVICE_ID_INTEL_HD_3000 0x0116
+#define PCI_DEVICE_ID_INTEL_HD_3000_1 0x0112
+#define PCI_DEVICE_ID_INTEL_HD_3000_2 0x0116
+#define PCI_DEVICE_ID_INTEL_HD_3000_3 0x0122
+#define PCI_DEVICE_ID_INTEL_HD_3000_4 0x0126
+#define PCI_DEVICE_ID_INTEL_HD_3000_5 0x0116
+#define PCI_DEVICE_ID_INTEL_HD_2500 0x0152
+#define PCI_DEVICE_ID_INTEL_HD_2500_1 0x0156
+#define PCI_DEVICE_ID_INTEL_HD_2500_2 0x015A
+#define PCI_DEVICE_ID_INTEL_HD_4000 0x0162
+#define PCI_DEVICE_ID_INTEL_HD_4000_1 0x0166
+#define PCI_DEVICE_ID_INTEL_HD_4000_2 0x016A
+#define PCI_DEVICE_ID_INTEL_HD_4600 0x0412
+#define PCI_DEVICE_ID_INTEL_HD_4600_1 0x0416
+#define PCI_DEVICE_ID_INTEL_HD_5000 0x0422
+#define PCI_DEVICE_ID_INTEL_HD_5000_1 0x0426
+#define PCI_DEVICE_ID_INTEL_HD_5000_2 0x042A
+
#if !defined(__DARWIN__) && !defined(__FreeBSD__)
typedef struct { uint32_t hi, lo; } msr_t;
#endif