fix: make misaligned userptr 2-way coh on PTL

Related-To: NEO-15295

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-08-05 08:18:49 +00:00
committed by Compute-Runtime-Automation
parent a50c0dbecf
commit d7151714e8
4 changed files with 15 additions and 0 deletions

View File

@@ -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) {

View File

@@ -44,4 +44,9 @@ bool ProductHelperHw<gfxProduct>::isStagingBuffersEnabled() const {
return true;
}
template <>
bool ProductHelperHw<gfxProduct>::isMisalignedUserPtr2WayCoherent() const {
return true;
}
} // namespace NEO

View File

@@ -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());
}

View File

@@ -135,4 +135,8 @@ PTLTEST_F(PtlProductHelper, givenProductHelperWhenCheckingIsHostDeviceUsmPoolAll
EXPECT_TRUE(productHelper->isHostUsmPoolAllocatorSupported());
EXPECT_TRUE(productHelper->isDeviceUsmPoolAllocatorSupported());
}
}
PTLTEST_F(PtlProductHelper, givenProductHelperWhenIsMisalignedUserPtr2WayCoherentThenReturnTrue) {
EXPECT_TRUE(productHelper->isMisalignedUserPtr2WayCoherent());
}