feature: allocate SPECIAL_SSH heap in front window from EXTERNAL heap

- SPECIAL_SSH is used for debug surface SurfaceState which must be
located at bindless offset zero
- limit size of external front window

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2023-10-05 13:08:27 +00:00
committed by Compute-Runtime-Automation
parent 980da8ff3c
commit c2d69e5857
7 changed files with 98 additions and 30 deletions

View File

@@ -1364,7 +1364,9 @@ GraphicsAllocation *WddmMemoryManager::allocateGraphicsMemoryInDevicePool(const
auto &wddm = getWddm(allocationData.rootDeviceIndex);
adjustGpuPtrToHostAddressSpace(*wddmAllocation.get(), requiredGpuVa);
if (!heapAssigner.use32BitHeap(allocationData.type)) {
adjustGpuPtrToHostAddressSpace(*wddmAllocation.get(), requiredGpuVa);
}
if (!createWddmAllocation(wddmAllocation.get(), requiredGpuVa)) {
for (auto handleId = 0u; handleId < allocationData.storageInfo.getNumBanks(); handleId++) {