mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
committed by
Compute-Runtime-Automation
parent
c55886e9ff
commit
cfe23873cf
@@ -115,6 +115,11 @@ void BufferObject::fillExecObject(drm_i915_gem_exec_object2 &execObject, OsConte
|
||||
execObject.alignment = 0;
|
||||
execObject.offset = this->gpuAddress;
|
||||
execObject.flags = EXEC_OBJECT_PINNED | EXEC_OBJECT_SUPPORTS_48B_ADDRESS;
|
||||
|
||||
if (DebugManager.flags.UseAsyncDrmExec.get() != -1) {
|
||||
execObject.flags |= (EXEC_OBJECT_ASYNC * DebugManager.flags.UseAsyncDrmExec.get());
|
||||
}
|
||||
|
||||
if (this->isMarkedForCapture()) {
|
||||
execObject.flags |= EXEC_OBJECT_CAPTURE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user