mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Do not call waitUserFence under lock
Related-To: NEO-7454 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f71f6c564d
commit
623f471321
@@ -1283,7 +1283,11 @@ void Drm::waitForBind(uint32_t vmHandleId) {
|
||||
return;
|
||||
}
|
||||
auto lock = this->lockBindFenceMutex();
|
||||
waitUserFence(0u, castToUint64(&this->pagingFence[vmHandleId]), this->fenceVal[vmHandleId], ValueWidth::U64, -1, ioctlHelper->getWaitUserFenceSoftFlag());
|
||||
auto fenceAddress = castToUint64(&this->pagingFence[vmHandleId]);
|
||||
auto fenceValue = this->fenceVal[vmHandleId];
|
||||
lock.unlock();
|
||||
|
||||
waitUserFence(0u, fenceAddress, fenceValue, ValueWidth::U64, -1, ioctlHelper->getWaitUserFenceSoftFlag());
|
||||
}
|
||||
|
||||
bool Drm::isSetPairAvailable() {
|
||||
|
||||
Reference in New Issue
Block a user