From 297d98e456eb1e0476643c0a0d3123b549df6765 Mon Sep 17 00:00:00 2001 From: Compute-Runtime-Validation Date: Tue, 24 Sep 2024 16:25:49 +0200 Subject: [PATCH] Revert "feature: enable WMTP support on LNL" This reverts commit fa4a1a5f1f37e31ed83cd1d21b63c7e631593fe1. Signed-off-by: Compute-Runtime-Validation --- shared/source/xe2_hpg_core/hw_info_lnl.cpp | 3 ++- .../xe2_hpg_core/lnl/definitions/wmtp_setup_lnl.inl | 10 ++++++++++ .../unit_test/xe2_hpg_core/lnl/hw_info_tests_lnl.cpp | 4 +++- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 shared/source/xe2_hpg_core/lnl/definitions/wmtp_setup_lnl.inl diff --git a/shared/source/xe2_hpg_core/hw_info_lnl.cpp b/shared/source/xe2_hpg_core/hw_info_lnl.cpp index 5fe99a3d7c..f65ef8529e 100644 --- a/shared/source/xe2_hpg_core/hw_info_lnl.cpp +++ b/shared/source/xe2_hpg_core/hw_info_lnl.cpp @@ -15,6 +15,7 @@ #include "shared/source/xe2_hpg_core/hw_cmds_lnl.h" #include "aubstream/engine_node.h" +#include "wmtp_setup_lnl.inl" namespace NEO { @@ -92,7 +93,7 @@ void LNL::setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo) { featureTable->flags.ftrFlatPhysCCS = true; featureTable->flags.ftrE2ECompression = true; featureTable->flags.ftrTile64Optimization = true; - featureTable->flags.ftrWalkerMTP = true; + featureTable->flags.ftrWalkerMTP = wmtpSupported; featureTable->flags.ftrXe2Compression = true; featureTable->flags.ftrXe2PlusTiling = true; featureTable->flags.ftrPml5Support = true; diff --git a/shared/source/xe2_hpg_core/lnl/definitions/wmtp_setup_lnl.inl b/shared/source/xe2_hpg_core/lnl/definitions/wmtp_setup_lnl.inl new file mode 100644 index 0000000000..b072211123 --- /dev/null +++ b/shared/source/xe2_hpg_core/lnl/definitions/wmtp_setup_lnl.inl @@ -0,0 +1,10 @@ +/* + * Copyright (C) 2024 Intel Corporation + * + * SPDX-License-Identifier: MIT + * + */ + +namespace NEO { +constexpr bool wmtpSupported = false; +} // namespace NEO diff --git a/shared/test/unit_test/xe2_hpg_core/lnl/hw_info_tests_lnl.cpp b/shared/test/unit_test/xe2_hpg_core/lnl/hw_info_tests_lnl.cpp index b8570efc8c..c79296f1fe 100644 --- a/shared/test/unit_test/xe2_hpg_core/lnl/hw_info_tests_lnl.cpp +++ b/shared/test/unit_test/xe2_hpg_core/lnl/hw_info_tests_lnl.cpp @@ -17,6 +17,8 @@ #include "shared/test/common/test_macros/header/per_product_test_definitions.h" #include "shared/test/common/test_macros/test.h" +#include "wmtp_setup_lnl.inl" + using namespace NEO; using LnlHwInfoTest = ::testing::Test; @@ -65,7 +67,7 @@ LNLTEST_F(LnlHwInfoTest, givenBoolWhenCallLnlHardwareInfoSetupThenFeatureTableAn EXPECT_EQ(setParamBool, featureTable.flags.ftrXe2PlusTiling); EXPECT_EQ(setParamBool, featureTable.flags.ftrPml5Support); EXPECT_EQ(false, featureTable.flags.ftrTileY); - EXPECT_EQ(setParamBool, featureTable.flags.ftrWalkerMTP); + EXPECT_EQ(wmtpSupported && setParamBool, featureTable.flags.ftrWalkerMTP); EXPECT_EQ(setParamBool, workaroundTable.flags.wa4kAlignUVOffsetNV12LinearSurface); EXPECT_EQ(1u, featureTable.ftrBcsInfo.to_ulong()); }