test: Add regkey to override number of BCS engines on platform

New regkey BcsNumberOverride for use in TBX and AUB mode

Related-To: NEO-11082

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
This commit is contained in:
Slawomir Milczarek
2024-05-07 15:01:01 +00:00
committed by Compute-Runtime-Automation
parent 09ed947638
commit 2473c38e31
4 changed files with 21 additions and 1 deletions

View File

@@ -97,6 +97,10 @@ bool DeviceFactory::prepareDeviceEnvironmentsForProductFamilyOverride(ExecutionE
setHwInfoValuesFromConfig(hwInfoConfig, *hardwareInfo);
hardwareInfoSetup[hwInfoConst->platform.eProductFamily](hardwareInfo, true, hwInfoConfig, rootDeviceEnvironment.getReleaseHelper());
if (debugManager.flags.BcsNumberOverride.get() != -1) {
hardwareInfo->featureTable.ftrBcsInfo = maxNBitValue(static_cast<uint64_t>(debugManager.flags.BcsNumberOverride.get()));
}
auto &productHelper = rootDeviceEnvironment.getProductHelper();
productHelper.configureHardwareCustom(hardwareInfo, nullptr);