fix: Create GMM in DrmMemoryManager::createAllocWithAlignment

Resolves: NEO-9739
Related-To: NEO-9543

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-01-05 10:55:48 +00:00
committed by Compute-Runtime-Automation
parent 5664b764f0
commit add394722c
2 changed files with 4 additions and 0 deletions

View File

@@ -2206,6 +2206,9 @@ DrmAllocation *DrmMemoryManager::createAllocWithAlignment(const AllocationData &
return nullptr;
}
auto gmm = makeGmmIfSingleHandle(allocationData, alignedSize);
allocation->setDefaultGmm(gmm.release());
bo.release();
allocation->isShareableHostMemory = true;
allocation->storageInfo = allocationData.storageInfo;