Revert "performance: Override cacheable for timestampPacketTagBuffer"

This reverts commit ec75f8f686.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2024-09-21 03:53:47 +02:00
committed by Compute-Runtime-Automation
parent 81864c8ee3
commit 3fa5504a5d
2 changed files with 4 additions and 6 deletions

View File

@@ -453,8 +453,8 @@ bool ProductHelperHw<gfxProduct>::overridePatToUCAndTwoWayCohForDcFlushMitigatio
return this->isDcFlushMitigated() &&
(this->overrideCacheableForDcFlushMitigation(allocationType) ||
allocationType == AllocationType::timestampPacketTagBuffer ||
allocationType == AllocationType::gpuTimestampDeviceBuffer ||
allocationType == AllocationType::tagBuffer);
allocationType == AllocationType::tagBuffer ||
allocationType == AllocationType::gpuTimestampDeviceBuffer);
}
template <PRODUCT_FAMILY gfxProduct>
@@ -473,8 +473,7 @@ bool ProductHelperHw<gfxProduct>::overrideCacheableForDcFlushMitigation(Allocati
allocationType == AllocationType::svmCpu ||
allocationType == AllocationType::svmZeroCopy ||
allocationType == AllocationType::internalHostMemory ||
allocationType == AllocationType::printfSurface ||
allocationType == AllocationType::timestampPacketTagBuffer);
allocationType == AllocationType::printfSurface);
}
template <PRODUCT_FAMILY gfxProduct>

View File

@@ -146,8 +146,7 @@ LNLTEST_F(LnlProductHelper, givenExternalHostPtrWhenMitigateDcFlushThenOverrideC
allocationType == AllocationType::svmZeroCopy ||
allocationType == AllocationType::internalHostMemory ||
allocationType == AllocationType::commandBuffer ||
allocationType == AllocationType::printfSurface ||
allocationType == AllocationType::timestampPacketTagBuffer) {
allocationType == AllocationType::printfSurface) {
EXPECT_TRUE(productHelper->overrideAllocationCacheable(allocationData));
} else {
EXPECT_FALSE(productHelper->overrideAllocationCacheable(allocationData));