From 67870f508fbec35be393efccdac2c658cbc40ed0 Mon Sep 17 00:00:00 2001 From: Abhay Kumar Date: Wed, 20 Jul 2016 17:48:55 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/15767 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Duncan Laurie --- 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 3468b3981f..ba3d5dbf2b 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 0790c6ef4f..7c1a2b9e7b 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 */ -- cgit v1.2.3