From 8df4dab1a35e629e7fff4e78ced82fd66445e39b Mon Sep 17 00:00:00 2001 From: Compute-Runtime-Validation Date: Tue, 9 Jan 2024 16:04:45 +0100 Subject: [PATCH] Revert "performance: Remove tlb flush on DG2 Linux" This reverts commit 44a162053b33be7fe30883aa8fa13ff24a1dc6b0. Signed-off-by: Compute-Runtime-Validation --- shared/source/xe_hpg_core/linux/product_helper_dg2.cpp | 5 ----- .../xe_hpg_core/dg2/linux/product_helper_tests_dg2.cpp | 4 ---- 2 files changed, 9 deletions(-) diff --git a/shared/source/xe_hpg_core/linux/product_helper_dg2.cpp b/shared/source/xe_hpg_core/linux/product_helper_dg2.cpp index ff05953523..ed2e539961 100644 --- a/shared/source/xe_hpg_core/linux/product_helper_dg2.cpp +++ b/shared/source/xe_hpg_core/linux/product_helper_dg2.cpp @@ -70,10 +70,5 @@ bool ProductHelperHw::getUuid(NEO::DriverModel *driverModel, const u return true; } -template <> -bool ProductHelperHw::isTlbFlushRequired() const { - return false; -} - template class ProductHelperHw; } // namespace NEO diff --git a/shared/test/unit_test/xe_hpg_core/dg2/linux/product_helper_tests_dg2.cpp b/shared/test/unit_test/xe_hpg_core/dg2/linux/product_helper_tests_dg2.cpp index f913f85123..6d39d21b08 100644 --- a/shared/test/unit_test/xe_hpg_core/dg2/linux/product_helper_tests_dg2.cpp +++ b/shared/test/unit_test/xe_hpg_core/dg2/linux/product_helper_tests_dg2.cpp @@ -43,7 +43,3 @@ DG2TEST_F(Dg2ProductHelperLinux, GivenDg2WhenConfigureHardwareCustomThenKmdNotif EXPECT_TRUE(pInHwInfo.capabilityTable.kmdNotifyProperties.enableQuickKmdSleepForDirectSubmission); EXPECT_EQ(20ll, pInHwInfo.capabilityTable.kmdNotifyProperties.delayQuickKmdSleepForDirectSubmissionMicroseconds); } - -DG2TEST_F(Dg2ProductHelperLinux, whenCheckIsTlbFlushRequiredThenReturnProperValue) { - EXPECT_FALSE(productHelper->isTlbFlushRequired()); -} \ No newline at end of file