mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
performance: configure Xe2 compression
Related-To: NEO-9421 Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2b7e92b280
commit
ec7821ed84
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user