Fix lock usage in wddm
Change-Id: I3532b97a1b57747621e106b03263bfb070b7b05a Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
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())
|
||||
|
|
Loading…
Reference in New Issue