From c612480f16a4304e4c434851a4807ed34f72ff3d Mon Sep 17 00:00:00 2001 From: Bartosz Dunajski Date: Mon, 7 Mar 2022 19:05:54 +0000 Subject: [PATCH] Add DG2 device ids Signed-off-by: Bartosz Dunajski --- .../xe_hpg_core/dg2/linux/dll/device_id_tests_dg2.cpp | 4 +++- shared/source/dll/devices/devices_additional.inl | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/opencl/test/unit_test/xe_hpg_core/dg2/linux/dll/device_id_tests_dg2.cpp b/opencl/test/unit_test/xe_hpg_core/dg2/linux/dll/device_id_tests_dg2.cpp index 0441440d00..9e25cbe219 100644 --- a/opencl/test/unit_test/xe_hpg_core/dg2/linux/dll/device_id_tests_dg2.cpp +++ b/opencl/test/unit_test/xe_hpg_core/dg2/linux/dll/device_id_tests_dg2.cpp @@ -10,7 +10,7 @@ using namespace NEO; TEST_F(DeviceIdTests, GivenDg2SupportedDeviceIdThenDeviceDescriptorTableExists) { - std::array expectedDescriptors = {{ + std::array expectedDescriptors = {{ {0x4F80, &DG2_CONFIG::hwInfo, &DG2_CONFIG::setupHardwareInfo}, {0x4F81, &DG2_CONFIG::hwInfo, &DG2_CONFIG::setupHardwareInfo}, {0x4F82, &DG2_CONFIG::hwInfo, &DG2_CONFIG::setupHardwareInfo}, @@ -29,6 +29,8 @@ TEST_F(DeviceIdTests, GivenDg2SupportedDeviceIdThenDeviceDescriptorTableExists) {0x56A2, &DG2_CONFIG::hwInfo, &DG2_CONFIG::setupHardwareInfo}, {0x56A5, &DG2_CONFIG::hwInfo, &DG2_CONFIG::setupHardwareInfo}, {0x56A6, &DG2_CONFIG::hwInfo, &DG2_CONFIG::setupHardwareInfo}, + {0x56C0, &DG2_CONFIG::hwInfo, &DG2_CONFIG::setupHardwareInfo}, + {0x56C1, &DG2_CONFIG::hwInfo, &DG2_CONFIG::setupHardwareInfo}, }}; testImpl(expectedDescriptors); diff --git a/shared/source/dll/devices/devices_additional.inl b/shared/source/dll/devices/devices_additional.inl index 81091e43e0..09785b0101 100644 --- a/shared/source/dll/devices/devices_additional.inl +++ b/shared/source/dll/devices/devices_additional.inl @@ -32,6 +32,8 @@ DEVICE(0x56A1, DG2_CONFIG) DEVICE(0x56A2, DG2_CONFIG) DEVICE(0x56A5, DG2_CONFIG) DEVICE(0x56A6, DG2_CONFIG) +DEVICE(0x56C0, DG2_CONFIG) +DEVICE(0x56C1, DG2_CONFIG) #endif #endif