mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Set CAPTURE flag in fillExecObject
Resolves: NEO-5026 Change-Id: I132d5f1c02edf8e595d31e08029fb32ccbd6d307 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e4adb7efbf
commit
f9a97cbb22
@@ -115,6 +115,9 @@ 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 (this->isMarkedForCapture()) {
|
||||
execObject.flags |= EXEC_OBJECT_CAPTURE;
|
||||
}
|
||||
execObject.rsvd1 = drmContextId;
|
||||
execObject.rsvd2 = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user