Remove all TODOs

Related-To: NEO-6674

Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
This commit is contained in:
Baj, Tomasz
2022-02-16 13:52:13 +00:00
committed by Compute-Runtime-Automation
parent 235f9be779
commit 0d68c55198

View File

@@ -1052,7 +1052,6 @@ GraphicsAllocation *WddmMemoryManager::allocateGraphicsMemoryInDevicePool(const
allocationData.type == AllocationType::SCRATCH_SURFACE ||
allocationData.type == AllocationType::LINEAR_STREAM ||
allocationData.type == AllocationType::PRIVATE_SURFACE) {
// TODO : FOR DG2 device make sure that scratch doesn't go here
// add 2MB padding to make sure there are no overlaps between system and local memory
size_t reserveSizeAligned = sizeAligned + 2 * MemoryConstants::megaByte;
wddm.reserveValidAddressRange(reserveSizeAligned, requiredGpuVa);