From 4df323aca7d3bf7ad47af93fdeb35f8e9e9ade5d Mon Sep 17 00:00:00 2001 From: Lukasz Jobczyk Date: Wed, 6 Aug 2025 10:18:51 +0000 Subject: [PATCH] fix: disable async builtin init xe2 and later Resolves: GSD-11426, GSD-11378, GSD-11424 Signed-off-by: Lukasz Jobczyk --- shared/source/os_interface/product_helper_xe2_and_later.inl | 2 +- .../unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp | 4 ++-- .../unit_test/xe2_hpg_core/lnl/product_helper_tests_lnl.cpp | 4 ++-- .../test/unit_test/xe3_core/ptl/product_helper_tests_ptl.cpp | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/shared/source/os_interface/product_helper_xe2_and_later.inl b/shared/source/os_interface/product_helper_xe2_and_later.inl index 5fd268da82..039fd7f4ec 100644 --- a/shared/source/os_interface/product_helper_xe2_and_later.inl +++ b/shared/source/os_interface/product_helper_xe2_and_later.inl @@ -21,7 +21,7 @@ bool ProductHelperHw::deferMOCSToPatIndex(bool isWddmOnLinux) const template bool ProductHelperHw::isInitBuiltinAsyncSupported(const HardwareInfo &hwInfo) const { - return true; + return false; } template diff --git a/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp b/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp index 31a01b37fd..766a64b313 100644 --- a/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp +++ b/shared/test/unit_test/xe2_hpg_core/bmg/product_helper_tests_bmg.cpp @@ -37,8 +37,8 @@ BMGTEST_F(BmgProductHelper, givenProductHelperWhenGettingEvictIfNecessaryFlagSup EXPECT_TRUE(productHelper->isEvictionIfNecessaryFlagSupported()); } -BMGTEST_F(BmgProductHelper, givenBmgProductHelperWhenIsInitBuiltinAsyncSupportedThenReturnTrue) { - EXPECT_TRUE(productHelper->isInitBuiltinAsyncSupported(*defaultHwInfo)); +BMGTEST_F(BmgProductHelper, givenBmgProductHelperWhenIsInitBuiltinAsyncSupportedThenReturnFalse) { + EXPECT_FALSE(productHelper->isInitBuiltinAsyncSupported(*defaultHwInfo)); } BMGTEST_F(BmgProductHelper, givenProductHelperWhenCheckIsCopyBufferRectSplitSupportedThenReturnsTrue) { diff --git a/shared/test/unit_test/xe2_hpg_core/lnl/product_helper_tests_lnl.cpp b/shared/test/unit_test/xe2_hpg_core/lnl/product_helper_tests_lnl.cpp index 6e28c408f7..ff4055a860 100644 --- a/shared/test/unit_test/xe2_hpg_core/lnl/product_helper_tests_lnl.cpp +++ b/shared/test/unit_test/xe2_hpg_core/lnl/product_helper_tests_lnl.cpp @@ -113,8 +113,8 @@ LNLTEST_F(LnlProductHelper, givenProductHelperWhenCallIsCachingOnCpuAvailableThe EXPECT_FALSE(productHelper->isCachingOnCpuAvailable()); } -LNLTEST_F(LnlProductHelper, givenProductHelperWhenIsInitBuiltinAsyncSupportedThenReturnTrue) { - EXPECT_TRUE(productHelper->isInitBuiltinAsyncSupported(*defaultHwInfo)); +LNLTEST_F(LnlProductHelper, givenProductHelperWhenIsInitBuiltinAsyncSupportedThenReturnFalse) { + EXPECT_FALSE(productHelper->isInitBuiltinAsyncSupported(*defaultHwInfo)); } LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckoverrideAllocationCpuCacheableThenTrueIsReturnedForCommandBuffer) { diff --git a/shared/test/unit_test/xe3_core/ptl/product_helper_tests_ptl.cpp b/shared/test/unit_test/xe3_core/ptl/product_helper_tests_ptl.cpp index 37fc26ad05..7589dc9856 100644 --- a/shared/test/unit_test/xe3_core/ptl/product_helper_tests_ptl.cpp +++ b/shared/test/unit_test/xe3_core/ptl/product_helper_tests_ptl.cpp @@ -67,8 +67,8 @@ PTLTEST_F(PtlProductHelper, givenProductHelperWhenCallIsCachingOnCpuAvailableThe EXPECT_FALSE(productHelper->isCachingOnCpuAvailable()); } -PTLTEST_F(PtlProductHelper, givenProductHelperWhenIsInitBuiltinAsyncSupportedThenReturnTrue) { - EXPECT_TRUE(productHelper->isInitBuiltinAsyncSupported(*defaultHwInfo)); +PTLTEST_F(PtlProductHelper, givenProductHelperWhenIsInitBuiltinAsyncSupportedThenReturnFalse) { + EXPECT_FALSE(productHelper->isInitBuiltinAsyncSupported(*defaultHwInfo)); } PTLTEST_F(PtlProductHelper, givenProductHelperWhenCallIsStagingBuffersEnabledThenReturnTrue) {