mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
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:
committed by
Compute-Runtime-Automation
parent
6292a3304a
commit
f53ae0a50e
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user