mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Create and implement WSL handle refreshing
Additionally rename createResourceInfo overload to decodeResourceInfo. createResourceInfo(GMM_RESOURCE_INFO *, GMM_RESOURCE_INFO) does not create a new ResourceInfo, but decodes one on the basis of the provided existing gmmResourceInfo. Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d5bc7e66e7
commit
0966651a78
@@ -521,6 +521,8 @@ NTSTATUS Wddm::createAllocation(const void *alignedCpuPtr, const Gmm *gmm, D3DKM
|
||||
return status;
|
||||
}
|
||||
|
||||
gmm->gmmResourceInfo->refreshHandle();
|
||||
|
||||
outHandle = allocationInfo.hAllocation;
|
||||
outResourceHandle = createAllocation.hResource;
|
||||
if (outSharedHandle) {
|
||||
|
||||
Reference in New Issue
Block a user