[Beignet] [PATCH] add bxt with pciid 0x1A84

Guo Yejun yejun.guo at intel.com
Thu Sep 29 01:58:02 UTC 2016


Signed-off-by: Guo Yejun <yejun.guo at intel.com>
---
 src/cl_device_data.h | 4 +++-
 src/cl_device_id.c   | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/cl_device_data.h b/src/cl_device_data.h
index 30366ea..a237b0e 100644
--- a/src/cl_device_data.h
+++ b/src/cl_device_data.h
@@ -299,10 +299,12 @@
 /* BXT */
 #define PCI_CHIP_BROXTON_P	0x5A84   /* Intel(R) BXT-P for mobile desktop */
 #define PCI_CHIP_BROXTON_1	0x5A85
+#define PCI_CHIP_BROXTON_2	0x1A84
 
 #define IS_BROXTON(devid)               \
   (devid == PCI_CHIP_BROXTON_P ||       \
-   devid == PCI_CHIP_BROXTON_1)
+   devid == PCI_CHIP_BROXTON_1 ||       \
+   devid == PCI_CHIP_BROXTON_2)
 
 #define PCI_CHIP_KABYLAKE_ULT_GT1     0x5906
 #define PCI_CHIP_KABYLAKE_ULT_GT2     0x5916
diff --git a/src/cl_device_id.c b/src/cl_device_id.c
index df3355c..02aad96 100644
--- a/src/cl_device_id.c
+++ b/src/cl_device_id.c
@@ -617,6 +617,8 @@ skl_gt4_break:
 
     case PCI_CHIP_BROXTON_P:
       DECL_INFO_STRING(bxt_break, intel_bxt_device, name, "Intel(R) HD Graphics Broxton-P");
+    case PCI_CHIP_BROXTON_2:
+      DECL_INFO_STRING(bxt_break, intel_bxt_device, name, "Intel(R) HD Graphics Broxton 2");
 bxt_break:
       intel_bxt_device.device_id = device_id;
       intel_bxt_device.platform = cl_get_platform_default();
-- 
2.7.4



More information about the Beignet mailing list