From 9c0d24cdd0c9c3569e8c45dd30b38d2b7f1459ba Mon Sep 17 00:00:00 2001 From: Abrahm Scully Date: Fri, 6 Jun 2014 14:16:25 -0400 Subject: [PATCH] Handle server IVB GT2. Reviewed-by: Zhigang Gong Reviewed-by: Junyan He --- 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 55327ec..c1e4e93 100644 --- a/src/cl_device_data.h +++ b/src/cl_device_data.h @@ -67,6 +67,7 @@ #define PCI_CHIP_IVYBRIDGE_M_GT1 0x0156 /* Mobile */ #define PCI_CHIP_IVYBRIDGE_M_GT2 0x0166 #define PCI_CHIP_IVYBRIDGE_S_GT1 0x015a /* Server */ +#define PCI_CHIP_IVYBRIDGE_S_GT2 0x016a #define PCI_CHIP_BAYTRAIL_T 0x0F31 @@ -77,7 +78,8 @@ #define IS_IVB_GT2(devid) \ (devid == PCI_CHIP_IVYBRIDGE_GT2 || \ - devid == PCI_CHIP_IVYBRIDGE_M_GT2) + devid == PCI_CHIP_IVYBRIDGE_M_GT2 || \ + devid == PCI_CHIP_IVYBRIDGE_S_GT2) #define IS_BAYTRAIL_T(devid) \ (devid == PCI_CHIP_BAYTRAIL_T) diff --git a/src/cl_device_id.c b/src/cl_device_id.c index c435307..c25adf5 100644 --- a/src/cl_device_id.c +++ b/src/cl_device_id.c @@ -221,6 +221,8 @@ ivb_gt1_break: DECL_INFO_STRING(ivb_gt2_break, intel_ivb_gt2_device, name, "Intel(R) HD Graphics IvyBridge GT2"); case PCI_CHIP_IVYBRIDGE_M_GT2: DECL_INFO_STRING(ivb_gt2_break, intel_ivb_gt2_device, name, "Intel(R) HD Graphics IvyBridge M GT2"); + case PCI_CHIP_IVYBRIDGE_S_GT2: + DECL_INFO_STRING(ivb_gt2_break, intel_ivb_gt2_device, name, "Intel(R) HD Graphics IvyBridge S GT2"); ivb_gt2_break: intel_ivb_gt2_device.vendor_id = device_id; intel_ivb_gt2_device.platform = intel_platform; -- 2.7.4