mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 01:48:50 +08:00
Do not call GEM_WAIT while direct submission active
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0f78357e93
commit
9d3b759d29
@@ -71,6 +71,10 @@ bool BufferObject::close() {
|
||||
}
|
||||
|
||||
int BufferObject::wait(int64_t timeoutNs) {
|
||||
if (this->drm->isDirectSubmissionActive()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
drm_i915_gem_wait wait = {};
|
||||
wait.bo_handle = this->handle;
|
||||
wait.timeout_ns = -1;
|
||||
|
||||
Reference in New Issue
Block a user