fix: improve reducing wmtp support on Xe2 platforms

don't disable wmtp based on ftr flag, instead use compiler product helper

Related-To: NEO-12648
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-09-26 11:46:21 +00:00
committed by Compute-Runtime-Automation
parent 661de15fb0
commit 168ed4af54
10 changed files with 35 additions and 37 deletions

View File

@@ -19,8 +19,6 @@ constexpr static auto gfxProduct = IGFX_BMG;
#include "shared/source/xe2_hpg_core/bmg/os_agnostic_product_helper_bmg.inl"
#include "shared/source/xe2_hpg_core/os_agnostic_product_helper_xe2_hpg_core.inl"
#include "wmtp_setup_bmg.inl"
namespace NEO {
#include "shared/source/os_interface/linux/product_helper_xe_hpc_and_later.inl"
@@ -29,7 +27,6 @@ int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, O
enableCompression(hwInfo);
hwInfo->featureTable.flags.ftr57bGPUAddressing = (hwInfo->capabilityTable.gpuAddressSpace == maxNBitValue(57));
hwInfo->featureTable.flags.ftrWalkerMTP &= wmtpSupported;
enableBlitterOperationsSupport(hwInfo);

View File

@@ -20,8 +20,6 @@ constexpr static auto gfxProduct = IGFX_LUNARLAKE;
#include "shared/source/xe2_hpg_core/lnl/os_agnostic_product_helper_lnl.inl"
#include "shared/source/xe2_hpg_core/os_agnostic_product_helper_xe2_hpg_core.inl"
#include "wmtp_setup_lnl.inl"
namespace NEO {
#include "shared/source/os_interface/linux/product_helper_xe_hpc_and_later.inl"
@@ -31,7 +29,6 @@ int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, O
enableCompression(hwInfo);
hwInfo->featureTable.flags.ftr57bGPUAddressing = (hwInfo->capabilityTable.gpuAddressSpace == maxNBitValue(57));
hwInfo->featureTable.flags.ftrWalkerMTP &= wmtpSupported;
enableBlitterOperationsSupport(hwInfo);