diff --git a/shared/source/xe3_core/hw_info_ptl.cpp b/shared/source/xe3_core/hw_info_ptl.cpp index 92d71234dc..17ab160c0b 100644 --- a/shared/source/xe3_core/hw_info_ptl.cpp +++ b/shared/source/xe3_core/hw_info_ptl.cpp @@ -85,6 +85,8 @@ void PTL::setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo, const ReleaseHelp featureTable->flags.ftrPml5Support = true; featureTable->ftrBcsInfo = 1; + hwInfo->workaroundTable.flags.wa_14018976079 = true; + hwInfo->workaroundTable.flags.wa_14018984349 = true; } void PTL::setupHardwareInfoBase(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const ReleaseHelper *releaseHelper) { diff --git a/shared/source/xe3_core/ptl/os_agnostic_product_helper_ptl.inl b/shared/source/xe3_core/ptl/os_agnostic_product_helper_ptl.inl index abe663487f..ce5b2553b7 100644 --- a/shared/source/xe3_core/ptl/os_agnostic_product_helper_ptl.inl +++ b/shared/source/xe3_core/ptl/os_agnostic_product_helper_ptl.inl @@ -44,4 +44,9 @@ bool ProductHelperHw::isStagingBuffersEnabled() const { return true; } +template <> +bool ProductHelperHw::isMisalignedUserPtr2WayCoherent() const { + return true; +} + } // namespace NEO 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 90d1f3f0a5..6e28c408f7 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 @@ -155,3 +155,7 @@ LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckingIsHostDeviceUsmPoolAll LNLTEST_F(LnlProductHelper, givenProductHelperWhenCheckDirectSubmissionSupportedThenTrueIsReturned) { EXPECT_TRUE(productHelper->isDirectSubmissionSupported(releaseHelper)); } + +LNLTEST_F(LnlProductHelper, givenProductHelperWhenIsMisalignedUserPtr2WayCoherentThenReturnTrue) { + EXPECT_TRUE(productHelper->isMisalignedUserPtr2WayCoherent()); +} \ No newline at end of file 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 7550d04235..37fc26ad05 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 @@ -135,4 +135,8 @@ PTLTEST_F(PtlProductHelper, givenProductHelperWhenCheckingIsHostDeviceUsmPoolAll EXPECT_TRUE(productHelper->isHostUsmPoolAllocatorSupported()); EXPECT_TRUE(productHelper->isDeviceUsmPoolAllocatorSupported()); } +} + +PTLTEST_F(PtlProductHelper, givenProductHelperWhenIsMisalignedUserPtr2WayCoherentThenReturnTrue) { + EXPECT_TRUE(productHelper->isMisalignedUserPtr2WayCoherent()); } \ No newline at end of file