Revert "Add debug flag for EOT WA"

This reverts commit cf3817e058.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2022-07-09 00:53:42 +02:00
committed by Compute-Runtime-Automation
parent 6292a3304a
commit f53ae0a50e
21 changed files with 10 additions and 269 deletions

View File

@@ -237,11 +237,7 @@ bool GfxPartition::init(uint64_t gpuAddressSpace, size_t cpuAddressRangeSizeToRe
heapInitExternalWithFrontWindow(HeapAssigner::mapExternalWindowIndex(heap), heapAllocate(heap, externalFrontWindowSize),
externalFrontWindowSize);
} else if (HeapAssigner::isInternalHeap(heap)) {
auto heapSize = gfxHeap32Size;
if (DebugManager.flags.EnableEotWa.get()) {
heapSize = 4 * MemoryConstants::gigaByte - MemoryConstants::pageSize64k;
}
heapInitWithFrontWindow(heap, gfxBase, heapSize, GfxPartition::internalFrontWindowPoolSize);
heapInitWithFrontWindow(heap, gfxBase, gfxHeap32Size, GfxPartition::internalFrontWindowPoolSize);
heapInitFrontWindow(HeapAssigner::mapInternalWindowIndex(heap), gfxBase, GfxPartition::internalFrontWindowPoolSize);
} else {
heapInit(heap, gfxBase, gfxHeap32Size);

View File

@@ -434,9 +434,8 @@ bool MemoryManager::getAllocationData(AllocationData &allocationData, const Allo
}
allocationData.hostPtr = hostPtr;
if ((properties.allocationType == AllocationType::KERNEL_ISA ||
properties.allocationType == AllocationType::KERNEL_ISA_INTERNAL) &&
properties.gpuAddress == 0) {
if (properties.allocationType == AllocationType::KERNEL_ISA ||
properties.allocationType == AllocationType::KERNEL_ISA_INTERNAL) {
allocationData.size = properties.size + hwHelper.getPaddingForISAAllocation();
} else {
allocationData.size = properties.size;