mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
feature: enable WMTP support on LNL
Related-To: NEO-12648 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
658a0667d4
commit
fa4a1a5f1f
@@ -15,7 +15,6 @@
|
||||
#include "shared/source/xe2_hpg_core/hw_cmds_lnl.h"
|
||||
|
||||
#include "aubstream/engine_node.h"
|
||||
#include "wmtp_setup_lnl.inl"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
@@ -93,7 +92,7 @@ void LNL::setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo) {
|
||||
featureTable->flags.ftrFlatPhysCCS = true;
|
||||
featureTable->flags.ftrE2ECompression = true;
|
||||
featureTable->flags.ftrTile64Optimization = true;
|
||||
featureTable->flags.ftrWalkerMTP = wmtpSupported;
|
||||
featureTable->flags.ftrWalkerMTP = true;
|
||||
featureTable->flags.ftrXe2Compression = true;
|
||||
featureTable->flags.ftrXe2PlusTiling = true;
|
||||
featureTable->flags.ftrPml5Support = true;
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
namespace NEO {
|
||||
constexpr bool wmtpSupported = false;
|
||||
} // namespace NEO
|
||||
@@ -17,8 +17,6 @@
|
||||
#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;
|
||||
@@ -67,7 +65,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(wmtpSupported && setParamBool, featureTable.flags.ftrWalkerMTP);
|
||||
EXPECT_EQ(setParamBool, featureTable.flags.ftrWalkerMTP);
|
||||
EXPECT_EQ(setParamBool, workaroundTable.flags.wa4kAlignUVOffsetNV12LinearSurface);
|
||||
EXPECT_EQ(1u, featureTable.ftrBcsInfo.to_ulong());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user