performance: enable ULLS on LNL Linux

Related-To: NEO-9004

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek 2025-04-09 12:24:30 +00:00 committed by Compute-Runtime-Automation
parent 73ad369b10
commit f4815a9b69
5 changed files with 10 additions and 14 deletions

View File

@ -37,6 +37,11 @@ std::optional<GfxMemoryAllocationMethod> ProductHelperHw<gfxProduct>::getPreferr
return GfxMemoryAllocationMethod::allocateByKmd; return GfxMemoryAllocationMethod::allocateByKmd;
} }
template <>
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *releaseHelper) const {
return true;
}
template <> template <>
bool ProductHelperHw<gfxProduct>::blitEnqueuePreferred(bool isWriteToImageFromBuffer) const { bool ProductHelperHw<gfxProduct>::blitEnqueuePreferred(bool isWriteToImageFromBuffer) const {
return isWriteToImageFromBuffer; return isWriteToImageFromBuffer;

View File

@ -37,11 +37,6 @@ uint64_t ProductHelperHw<gfxProduct>::overridePatIndex(bool isUncachedType, uint
return patIndex; return patIndex;
} }
template <>
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *releaseHelper) const {
return true;
}
template <> template <>
bool ProductHelperHw<gfxProduct>::restartDirectSubmissionForHostptrFree() const { bool ProductHelperHw<gfxProduct>::restartDirectSubmissionForHostptrFree() const {
return true; return true;

View File

@ -60,10 +60,6 @@ LNLTEST_F(LnlProductHelperLinux, givenProductHelperWhenAskedIsKmdMigrationSuppor
EXPECT_FALSE(productHelper->isKmdMigrationSupported()); EXPECT_FALSE(productHelper->isKmdMigrationSupported());
} }
LNLTEST_F(LnlProductHelperLinux, givenProductHelperWhenCheckDirectSubmissionSupportedThenFalseIsReturned) {
EXPECT_FALSE(productHelper->isDirectSubmissionSupported(releaseHelper));
}
LNLTEST_F(LnlProductHelperLinux, givenProductHelperWhenCheckIsCopyBufferRectSplitSupportedThenReturnsTrue) { LNLTEST_F(LnlProductHelperLinux, givenProductHelperWhenCheckIsCopyBufferRectSplitSupportedThenReturnsTrue) {
EXPECT_TRUE(productHelper->isCopyBufferRectSplitSupported()); EXPECT_TRUE(productHelper->isCopyBufferRectSplitSupported());
} }

View File

@ -164,3 +164,7 @@ LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckingIsDeviceUsmAllocationR
LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) { LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {
EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported()); EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported());
} }
LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckDirectSubmissionSupportedThenTrueIsReturned) {
EXPECT_TRUE(productHelper->isDirectSubmissionSupported(releaseHelper));
}

View File

@ -19,10 +19,6 @@ using namespace NEO;
using LnlProductHelperWindows = ProductHelperTest; using LnlProductHelperWindows = ProductHelperTest;
LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenCheckDirectSubmissionSupportedThenTrueIsReturned) {
EXPECT_TRUE(productHelper->isDirectSubmissionSupported(releaseHelper));
}
LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenDcFlushMitigationThenReturnFalse) { LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenDcFlushMitigationThenReturnFalse) {
EXPECT_FALSE(productHelper->mitigateDcFlush()); EXPECT_FALSE(productHelper->mitigateDcFlush());
EXPECT_FALSE(productHelper->isDcFlushMitigated()); EXPECT_FALSE(productHelper->isDcFlushMitigated());