mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Fix lock usage in wddm
Change-Id: I3532b97a1b57747621e106b03263bfb070b7b05a Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
371eef3895
commit
0e55fe0801
@@ -985,7 +985,7 @@ void Wddm::applyBlockingMakeResident(WddmAllocation &allocation) {
|
||||
break;
|
||||
}
|
||||
DEBUG_BREAK_IF(!madeResident);
|
||||
auto &lock = acquireLock(temporaryResourcesLock);
|
||||
auto lock = acquireLock(temporaryResourcesLock);
|
||||
temporaryResources.push_back(allocation.handle);
|
||||
lock.unlock();
|
||||
while (currentPagingFenceValue > *getPagingFenceAddress())
|
||||
|
||||
Reference in New Issue
Block a user