[coreboot-gerrit] New patch to review for coreboot: soc/intel/apollolake: Add new Intel HD Graphics Device ID's.

Abhay Kumar (abhay.kumar@intel.com) gerrit at coreboot.org
Thu Jul 21 02:58:57 CEST 2016


Abhay Kumar (abhay.kumar at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15767

-gerrit

commit 350cf70ebb8141e53d2fef0e079e5a44bd343821
Author: Abhay Kumar <abhay.kumar at intel.com>
Date:   Wed Jul 20 17:48:55 2016 -0700

    soc/intel/apollolake: Add new Intel HD Graphics Device ID's.
    
    B stepping onwards we have to support two Graphics Device ID.
    
    BUG=chrome-os-partner:55449
    
    Change-Id: I520791ad8573dc5deb6ea1e33e1486f05050438c
    Signed-off-by: Abhay Kumar <abhay.kumar at intel.com>
---
 src/soc/intel/apollolake/graphics.c            | 8 +++++++-
 src/soc/intel/apollolake/include/soc/pci_ids.h | 3 ++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/soc/intel/apollolake/graphics.c b/src/soc/intel/apollolake/graphics.c
index 3468b39..f1a97b6 100644
--- a/src/soc/intel/apollolake/graphics.c
+++ b/src/soc/intel/apollolake/graphics.c
@@ -110,8 +110,14 @@ static const struct device_operations igd_ops = {
 	.enable           = DEVICE_NOOP
 };
 
+static const unsigned short pci_device_ids[] = {
+        PCI_DEVICE_ID_APOLLOLAKE_IGD_HD_505,
+        PCI_DEVICE_ID_APOLLOLAKE_IGD_HD_500,
+        0,
+};
+
 static const struct pci_driver integrated_graphics_driver __pci_driver = {
 	.ops	= &igd_ops,
 	.vendor	= PCI_VENDOR_ID_INTEL,
-	.device	= PCI_DEVICE_ID_APOLLOLAKE_IGD,
+	.devices= pci_device_ids,
 };
diff --git a/src/soc/intel/apollolake/include/soc/pci_ids.h b/src/soc/intel/apollolake/include/soc/pci_ids.h
index 0790c6e..7c1a2b9 100644
--- a/src/soc/intel/apollolake/include/soc/pci_ids.h
+++ b/src/soc/intel/apollolake/include/soc/pci_ids.h
@@ -19,7 +19,8 @@
 #define _SOC_APOLLOLAKE_PCI_IDS_H_
 
 #define PCI_DEVICE_ID_APOLLOLAKE_NB		0x5af0		/* 00:00.0 */
-#define PCI_DEVICE_ID_APOLLOLAKE_IGD		0x5a84		/* 00:02.0 */
+#define PCI_DEVICE_ID_APOLLOLAKE_IGD_HD_505	0x5a84		/* 00:02.0 */
+#define PCI_DEVICE_ID_APOLLOLAKE_IGD_HD_500	0x5a85		/* 00:02.0 */
 #define PCI_DEVICE_ID_APOLLOLAKE_P2SB		0x5a92		/* 00:0d.0 */
 #define PCI_DEVICE_ID_APOLLOLAKE_PMC		0x5a94		/* 00:0d.1 */
 #define PCI_DEVICE_ID_APOLLOLAKE_HWSEQ_SPI	0x5a96		/* 00:0d.2 */



More information about the coreboot-gerrit mailing list