inteltool: Add multiple device IDs of Intel GPUs

* Intel HD Graphics 510
* Intel HD Graphics 515
* Intel HD Graphics 520
* Intel HD Graphics 530 (2x)
* Intel UHD Graphics 615 (2x)
* Intel UHD Graphics 617
* Intel UHD Graphics 620 (3x)
* Intel UHD Graphics 630 (7x)
* Intel UHD Graphics 640
* Intel Iris Graphics 540
* Intel Iris Graphics 550
* Intel Iris Pro Graphics 580
* Intel Iris Plus Graphics 650
* Intel Iris Plus Graphics 655

Change-Id: I299a5fc082433b0aab4861a24aecbe83b61a404a
Signed-off-by: Felix Singer <migy@darmstadt.ccc.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/30610
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2019-01-02 14:44:54 +01:00 committed by Nico Huber
parent 9e3c30283f
commit 24b000a160
2 changed files with 72 additions and 0 deletions

View File

@ -348,6 +348,54 @@ static const struct {
"Intel(R) HD 5000 Graphics" }, "Intel(R) HD 5000 Graphics" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_5000_2, { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_5000_2,
"Intel(R) HD 5000 Graphics" }, "Intel(R) HD 5000 Graphics" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_510,
"Intel(R) HD Graphics 510" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_515,
"Intel(R) HD Graphics 515" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_520,
"Intel(R) HD Graphics 520" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_530_1,
"Intel(R) HD Graphics 530" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HD_530_2,
"Intel(R) HD Graphics 530" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_615_1,
"Intel(R) UHD Graphics 615" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_615_2,
"Intel(R) UHD Graphics 615" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_617,
"Intel(R) UHD Graphics 617" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_620_1,
"Intel(R) UHD Graphics 620" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_620_2,
"Intel(R) UHD Graphics 620" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_620_3,
"Intel(R) UHD Graphics 620" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_630_1,
"Intel(R) UHD Graphics 630" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_630_2,
"Intel(R) UHD Graphics 630" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_630_3,
"Intel(R) UHD Graphics 630" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_630_4,
"Intel(R) UHD Graphics 630" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_630_5,
"Intel(R) UHD Graphics 630" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_630_6,
"Intel(R) UHD Graphics 630" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_630_7,
"Intel(R) UHD Graphics 630" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_UHD_640,
"Intel(R) UHD Graphics 640" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_IRIS_540,
"Intel(R) Iris Graphics 540" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_IRIS_550,
"Intel(R) Iris Graphics 550" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_IRIS_PRO_580,
"Intel(R) Iris Pro Graphics 580" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_IRIS_PLUS_650,
"Intel(R) Iris Plus Graphics 650" },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_IRIS_PLUS_655,
"Intel(R) Iris Plus Graphics 655" },
}; };
#ifndef __DARWIN__ #ifndef __DARWIN__

View File

@ -302,6 +302,30 @@ static inline uint32_t inl(unsigned port)
#define PCI_DEVICE_ID_INTEL_HD_5000 0x0422 #define PCI_DEVICE_ID_INTEL_HD_5000 0x0422
#define PCI_DEVICE_ID_INTEL_HD_5000_1 0x0426 #define PCI_DEVICE_ID_INTEL_HD_5000_1 0x0426
#define PCI_DEVICE_ID_INTEL_HD_5000_2 0x042A #define PCI_DEVICE_ID_INTEL_HD_5000_2 0x042A
#define PCI_DEVICE_ID_INTEL_HD_510 0x1902
#define PCI_DEVICE_ID_INTEL_HD_515 0x191E
#define PCI_DEVICE_ID_INTEL_HD_520 0x1916
#define PCI_DEVICE_ID_INTEL_HD_530_1 0x191B
#define PCI_DEVICE_ID_INTEL_HD_530_2 0x1912
#define PCI_DEVICE_ID_INTEL_UHD_615_1 0x591C
#define PCI_DEVICE_ID_INTEL_UHD_615_2 0x591E
#define PCI_DEVICE_ID_INTEL_UHD_617 0x87C0
#define PCI_DEVICE_ID_INTEL_UHD_620_1 0x5917
#define PCI_DEVICE_ID_INTEL_UHD_620_2 0x3EA0
#define PCI_DEVICE_ID_INTEL_UHD_620_3 0x5916
#define PCI_DEVICE_ID_INTEL_UHD_630_1 0x3E92
#define PCI_DEVICE_ID_INTEL_UHD_630_2 0x3E9B
#define PCI_DEVICE_ID_INTEL_UHD_630_3 0x3E91
#define PCI_DEVICE_ID_INTEL_UHD_630_4 0x5912
#define PCI_DEVICE_ID_INTEL_UHD_630_5 0x591B
#define PCI_DEVICE_ID_INTEL_UHD_630_6 0x5902
#define PCI_DEVICE_ID_INTEL_UHD_630_7 0x3E98
#define PCI_DEVICE_ID_INTEL_UHD_640 0x5926
#define PCI_DEVICE_ID_INTEL_IRIS_540 0x1926
#define PCI_DEVICE_ID_INTEL_IRIS_550 0x1927
#define PCI_DEVICE_ID_INTEL_IRIS_PRO_580 0x193B
#define PCI_DEVICE_ID_INTEL_IRIS_PLUS_650 0x5927
#define PCI_DEVICE_ID_INTEL_IRIS_PLUS_655 0x3EA5
#if !defined(__DARWIN__) && !defined(__FreeBSD__) #if !defined(__DARWIN__) && !defined(__FreeBSD__)
typedef struct { uint32_t hi, lo; } msr_t; typedef struct { uint32_t hi, lo; } msr_t;