mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
fix: Add printf surface to dc flush mitigation logic
Related-To: NEO-10556 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
62bf873b63
commit
5794ee8100
@@ -750,6 +750,7 @@ TEST(GmmTest, givenAllocationTypeAndMitigatedDcFlushWhenGettingUsageTypeThenRetu
|
||||
case AllocationType::gpuTimestampDeviceBuffer:
|
||||
case AllocationType::bufferHostMemory:
|
||||
case AllocationType::tagBuffer:
|
||||
case AllocationType::printfSurface:
|
||||
expectedUsage = uncachedGmmUsageType;
|
||||
break;
|
||||
|
||||
|
||||
@@ -328,7 +328,8 @@ HWTEST_F(ProductHelperTest, givenDcFlushMitigationWhenOverridePatAndUsageForDcFl
|
||||
allocationType == AllocationType::tagBuffer ||
|
||||
allocationType == AllocationType::gpuTimestampDeviceBuffer ||
|
||||
allocationType == AllocationType::linearStream ||
|
||||
allocationType == AllocationType::internalHeap) {
|
||||
allocationType == AllocationType::internalHeap ||
|
||||
allocationType == AllocationType::printfSurface) {
|
||||
EXPECT_EQ(productHelper->overridePatAndUsageForDcFlushMitigation(allocationType), productHelper->isDcFlushMitigated());
|
||||
} else {
|
||||
EXPECT_FALSE(productHelper->overridePatAndUsageForDcFlushMitigation(allocationType));
|
||||
|
||||
Reference in New Issue
Block a user