mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +08:00
Revert "performance: enable Direct Submission on LNL Linux"
This reverts commit cb3b4d326d.
Related-To: NEO-14517, NEO-9004
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
eb170e5150
commit
e3e01e94a0
@@ -37,11 +37,6 @@ 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;
|
||||
|
||||
@@ -45,6 +45,11 @@ 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,6 +60,10 @@ 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,7 +164,3 @@ LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckingIsDeviceUsmAllocationR
|
||||
LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckingIsBufferPoolAllocatorSupportedThenCorrectValueIsReturned) {
|
||||
EXPECT_TRUE(productHelper->isBufferPoolAllocatorSupported());
|
||||
}
|
||||
|
||||
LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckDirectSubmissionSupportedThenTrueIsReturned) {
|
||||
EXPECT_TRUE(productHelper->isDirectSubmissionSupported(releaseHelper));
|
||||
}
|
||||
|
||||
@@ -19,6 +19,10 @@ 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());
|
||||
@@ -88,4 +92,4 @@ LNLTEST_F(LnlProductHelperWindows, givenOverrideDirectSubmissionTimeoutsCalledTh
|
||||
productHelper->overrideDirectSubmissionTimeouts(timeout, maxTimeout);
|
||||
EXPECT_EQ(timeout.count(), 2'000);
|
||||
EXPECT_EQ(maxTimeout.count(), 3'000);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user