From 36237d7e9fd1927db8cfef974117bb4916008149 Mon Sep 17 00:00:00 2001 From: Bellekallu Rajkiran Date: Mon, 15 Sep 2025 13:19:46 +0000 Subject: [PATCH] refactor: Remove redundant specializations Signed-off-by: Bellekallu Rajkiran --- shared/source/xe_hpc_core/linux/product_helper_pvc.cpp | 5 ----- .../xe_hpc_core/pvc/linux/product_helper_tests_pvc.cpp | 6 ------ 2 files changed, 11 deletions(-) diff --git a/shared/source/xe_hpc_core/linux/product_helper_pvc.cpp b/shared/source/xe_hpc_core/linux/product_helper_pvc.cpp index c34a0d2e57..53bce8fd18 100644 --- a/shared/source/xe_hpc_core/linux/product_helper_pvc.cpp +++ b/shared/source/xe_hpc_core/linux/product_helper_pvc.cpp @@ -75,11 +75,6 @@ bool ProductHelperHw::isPageFaultSupported() const { return true; } -template <> -bool ProductHelperHw::isKmdMigrationSupported() const { - return false; -} - template <> bool ProductHelperHw::isDisableScratchPagesSupported() const { return true; diff --git a/shared/test/unit_test/xe_hpc_core/pvc/linux/product_helper_tests_pvc.cpp b/shared/test/unit_test/xe_hpc_core/pvc/linux/product_helper_tests_pvc.cpp index f622c7cba0..24cf7edc47 100644 --- a/shared/test/unit_test/xe_hpc_core/pvc/linux/product_helper_tests_pvc.cpp +++ b/shared/test/unit_test/xe_hpc_core/pvc/linux/product_helper_tests_pvc.cpp @@ -75,12 +75,6 @@ PVCTEST_F(PvcProductHelperLinux, givenProductHelperWhenAskedIsPageFaultSupported EXPECT_TRUE(productHelper->isPageFaultSupported()); } -HWTEST_EXCLUDE_PRODUCT(ProductHelperTest, givenProductHelperWhenAskedIfKmdMigrationIsSupportedThenReturnFalse, IGFX_PVC); - -PVCTEST_F(PvcProductHelperLinux, givenProductHelperWhenAskedIsKmdMigrationSupportedThenReturnTrue) { - EXPECT_FALSE(productHelper->isKmdMigrationSupported()); -} - PVCTEST_F(PvcProductHelperLinux, givenAotConfigWhenSetHwInfoRevisionIdForPvcThenCorrectValueIsSet) { auto &compilerProductHelper = this->executionEnvironment->rootDeviceEnvironments[0]->getHelper(); for (const auto &config : AOT_PVC::productConfigs) {