mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
fix: Add BMG device ids
Add following device ids: 0xE210, 0xE215, 0xE216 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7918b44a94
commit
c306c457db
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 Intel Corporation
|
* Copyright (C) 2024-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -10,12 +10,15 @@
|
|||||||
using namespace NEO;
|
using namespace NEO;
|
||||||
|
|
||||||
TEST_F(DeviceIdTests, GivenBmgSupportedDeviceIdThenDeviceDescriptorTableExists) {
|
TEST_F(DeviceIdTests, GivenBmgSupportedDeviceIdThenDeviceDescriptorTableExists) {
|
||||||
std::array<DeviceDescriptor, 5> expectedDescriptors = {{
|
std::array<DeviceDescriptor, 8> expectedDescriptors = {{
|
||||||
{0xE202, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
{0xE202, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
||||||
{0xE20B, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
{0xE20B, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
||||||
{0xE20C, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
{0xE20C, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
||||||
{0xE20D, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
{0xE20D, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
||||||
|
{0xE210, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
||||||
{0xE212, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
{0xE212, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
||||||
|
{0xE215, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
||||||
|
{0xE216, &BmgHwConfig::hwInfo, &BmgHwConfig::setupHardwareInfo},
|
||||||
}};
|
}};
|
||||||
|
|
||||||
testImpl(expectedDescriptors);
|
testImpl(expectedDescriptors);
|
||||||
|
|||||||
@@ -24,7 +24,10 @@ DEVICE(0xE202, BmgHwConfig)
|
|||||||
NAMEDDEVICE(0xE20B, BmgHwConfig, "Intel(R) Arc(TM) B580 Graphics")
|
NAMEDDEVICE(0xE20B, BmgHwConfig, "Intel(R) Arc(TM) B580 Graphics")
|
||||||
NAMEDDEVICE(0xE20C, BmgHwConfig, "Intel(R) Arc(TM) B570 Graphics")
|
NAMEDDEVICE(0xE20C, BmgHwConfig, "Intel(R) Arc(TM) B570 Graphics")
|
||||||
DEVICE(0xE20D, BmgHwConfig)
|
DEVICE(0xE20D, BmgHwConfig)
|
||||||
|
DEVICE(0xE210, BmgHwConfig)
|
||||||
DEVICE(0xE212, BmgHwConfig)
|
DEVICE(0xE212, BmgHwConfig)
|
||||||
|
DEVICE(0xE215, BmgHwConfig)
|
||||||
|
DEVICE(0xE216, BmgHwConfig)
|
||||||
#endif
|
#endif
|
||||||
#ifdef SUPPORT_LNL
|
#ifdef SUPPORT_LNL
|
||||||
NAMEDDEVICE(0x6420, LnlHwConfig, "Intel(R) Graphics")
|
NAMEDDEVICE(0x6420, LnlHwConfig, "Intel(R) Graphics")
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 Intel Corporation
|
* Copyright (C) 2024-2025 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -10,5 +10,5 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace NEO {
|
namespace NEO {
|
||||||
const std::vector<unsigned short> bmgG21DeviceIds{0xE202, 0xE20B, 0xE20C, 0xE20D, 0xE212};
|
const std::vector<unsigned short> bmgG21DeviceIds{0xE202, 0xE20B, 0xE20C, 0xE20D, 0xE210, 0xE212, 0xE215, 0xE216};
|
||||||
} // namespace NEO
|
} // namespace NEO
|
||||||
|
|||||||
Reference in New Issue
Block a user