From 2eff2dac0efdc8c38e6a3545b6475f405493a868 Mon Sep 17 00:00:00 2001 From: Compute-Runtime-Validation Date: Tue, 16 May 2023 06:19:36 +0200 Subject: [PATCH] Revert "feature: Enable kmd migration by default on PVC platform" This reverts commit 50d831bee02a7d199ce6403436563fc15c0c6de9. Signed-off-by: Compute-Runtime-Validation --- shared/source/xe_hpc_core/linux/product_helper_pvc.cpp | 2 +- .../xe_hpc_core/pvc/linux/product_helper_tests_pvc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 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 719127a7fd..f07b6ee746 100644 --- a/shared/source/xe_hpc_core/linux/product_helper_pvc.cpp +++ b/shared/source/xe_hpc_core/linux/product_helper_pvc.cpp @@ -82,7 +82,7 @@ bool ProductHelperHw::isPageFaultSupported() const { template <> bool ProductHelperHw::isKmdMigrationSupported() const { - return true; + return false; } } // namespace NEO 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 221101a094..ca51f602d8 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 @@ -79,7 +79,7 @@ PVCTEST_F(PvcProductHelperLinux, givenProductHelperWhenAskedIsPageFaultSupported HWTEST_EXCLUDE_PRODUCT(ProductHelperTest, givenProductHelperWhenAskedIfKmdMigrationIsSupportedThenReturnFalse, IGFX_PVC); PVCTEST_F(PvcProductHelperLinux, givenProductHelperWhenAskedIsKmdMigrationSupportedThenReturnTrue) { - EXPECT_TRUE(productHelper->isKmdMigrationSupported()); + EXPECT_FALSE(productHelper->isKmdMigrationSupported()); } PVCTEST_F(PvcProductHelperLinux, givenAotConfigWhenSetHwInfoRevisionIdForPvcThenCorrectValueIsSet) {