diff options
author | Abrahm Scully <abrahm.scully@gmail.com> | 2014-06-06 14:16:25 -0400 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-06-09 16:34:36 +0800 |
commit | 9c0d24cdd0c9c3569e8c45dd30b38d2b7f1459ba (patch) | |
tree | 7a83e50c5958946e37dd1f4dd3d1f7fed085892e | |
parent | 4ed6d95ab50fa6d3a30311a0796faaecd1dc53a5 (diff) |
Handle server IVB GT2.
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: Junyan He <junyan.he@aim.com>
-rw-r--r-- | src/cl_device_data.h | 4 | ||||
-rw-r--r-- | src/cl_device_id.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/cl_device_data.h b/src/cl_device_data.h index 55327ecb..c1e4e93e 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 c4353078..c25adf52 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; |