performance: configure Xe2 compression

Related-To: NEO-9421

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
This commit is contained in:
Tomasz Biernacik
2025-03-04 08:26:25 +00:00
committed by Compute-Runtime-Automation
parent 2b7e92b280
commit ec7821ed84
2 changed files with 25 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2024 Intel Corporation
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -9,6 +9,7 @@
#include "shared/source/execution_environment/root_device_environment.h"
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/product_helper.h"
#include "shared/source/release_helper/release_helper.h"
#include "hw_cmds.h"
@@ -18,6 +19,10 @@ int ProductHelper::configureHwInfoWddm(const HardwareInfo *inHwInfo, HardwareInf
outHwInfo->capabilityTable.ftrSvm = outHwInfo->featureTable.flags.ftrSVM;
this->setCapabilityCoherencyFlag(*outHwInfo, outHwInfo->capabilityTable.ftrSupportsCoherency);
outHwInfo->capabilityTable.ftrSupportsCoherency &= inHwInfo->featureTable.flags.ftrL3IACoherency;
auto releaseHelper = rootDeviceEnvironment.getReleaseHelper();
if (releaseHelper) {
outHwInfo->featureTable.flags.ftrXe2Compression = releaseHelper->getFtrXe2Compression();
}
setupDefaultEngineType(*outHwInfo, rootDeviceEnvironment);
setupPreemptionMode(*outHwInfo, rootDeviceEnvironment, true);