mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Revert "fix: propagate error createInternalHandle wddm"
This reverts commit eeddd779f0.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
05dbbcab6c
commit
0a096f1d50
@@ -16,12 +16,12 @@ int WddmAllocation::createInternalHandle(MemoryManager *memoryManager, uint32_t
|
||||
WddmMemoryManager *wddmMemoryManager = reinterpret_cast<WddmMemoryManager *>(memoryManager);
|
||||
auto status = wddmMemoryManager->createInternalNTHandle(&resourceHandle, &ntSharedHandle, this->getRootDeviceIndex());
|
||||
if (status != STATUS_SUCCESS) {
|
||||
return -1;
|
||||
return handle == 0;
|
||||
}
|
||||
ntSecureHandle = castToUint64(ntSharedHandle);
|
||||
handle = ntSecureHandle;
|
||||
}
|
||||
return handle == 0 ? -1 : 0;
|
||||
return handle == 0;
|
||||
}
|
||||
void WddmAllocation::clearInternalHandle(uint32_t handleId) {
|
||||
ntSecureHandle = 0u;
|
||||
|
||||
Reference in New Issue
Block a user