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 d6df57fb37..96b1a38dcf 100644 --- a/shared/source/xe_hpg_core/linux/product_helper_dg2.cpp +++ b/shared/source/xe_hpg_core/linux/product_helper_dg2.cpp @@ -76,5 +76,10 @@ 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 fbfe769d31..463a05553c 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,3 +43,7 @@ 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