performance: enable ULLS on LNL Linux
Related-To: NEO-9004 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
parent
73ad369b10
commit
f4815a9b69
|
@ -37,6 +37,11 @@ std::optional<GfxMemoryAllocationMethod> ProductHelperHw<gfxProduct>::getPreferr
|
|||
return GfxMemoryAllocationMethod::allocateByKmd;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *releaseHelper) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::blitEnqueuePreferred(bool isWriteToImageFromBuffer) const {
|
||||
return isWriteToImageFromBuffer;
|
||||
|
|
|
@ -37,11 +37,6 @@ uint64_t ProductHelperHw<gfxProduct>::overridePatIndex(bool isUncachedType, uint
|
|||
return patIndex;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *releaseHelper) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ProductHelperHw<gfxProduct>::restartDirectSubmissionForHostptrFree() const {
|
||||
return true;
|
||||
|
|
|
@ -60,10 +60,6 @@ LNLTEST_F(LnlProductHelperLinux, givenProductHelperWhenAskedIsKmdMigrationSuppor
|
|||
EXPECT_FALSE(productHelper->isKmdMigrationSupported());
|
||||
}
|
||||
|
||||
LNLTEST_F(LnlProductHelperLinux, givenProductHelperWhenCheckDirectSubmissionSupportedThenFalseIsReturned) {
|
||||
EXPECT_FALSE(productHelper->isDirectSubmissionSupported(releaseHelper));
|
||||
}
|
||||
|
||||
LNLTEST_F(LnlProductHelperLinux, givenProductHelperWhenCheckIsCopyBufferRectSplitSupportedThenReturnsTrue) {
|
||||
EXPECT_TRUE(productHelper->isCopyBufferRectSplitSupported());
|
||||
}
|
||||
|
|
|
@ -164,3 +164,7 @@ LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckingIsDeviceUsmAllocationR
|
|||
LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {
|
||||
EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported());
|
||||
}
|
||||
|
||||
LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckDirectSubmissionSupportedThenTrueIsReturned) {
|
||||
EXPECT_TRUE(productHelper->isDirectSubmissionSupported(releaseHelper));
|
||||
}
|
||||
|
|
|
@ -19,10 +19,6 @@ using namespace NEO;
|
|||
|
||||
using LnlProductHelperWindows = ProductHelperTest;
|
||||
|
||||
LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenCheckDirectSubmissionSupportedThenTrueIsReturned) {
|
||||
EXPECT_TRUE(productHelper->isDirectSubmissionSupported(releaseHelper));
|
||||
}
|
||||
|
||||
LNLTEST_F(LnlProductHelperWindows, givenProductHelperWhenDcFlushMitigationThenReturnFalse) {
|
||||
EXPECT_FALSE(productHelper->mitigateDcFlush());
|
||||
EXPECT_FALSE(productHelper->isDcFlushMitigated());
|
||||
|
@ -92,4 +88,4 @@ LNLTEST_F(LnlProductHelperWindows, givenOverrideDirectSubmissionTimeoutsCalledTh
|
|||
productHelper->overrideDirectSubmissionTimeouts(timeout, maxTimeout);
|
||||
EXPECT_EQ(timeout.count(), 2'000);
|
||||
EXPECT_EQ(maxTimeout.count(), 3'000);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue