mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 14:33:04 +08:00
feature: Add support for importing OpaqueFd external semaphore
Related-To: NEO-14676 Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
145c11e9de
commit
0e0cf3f742
@@ -202,6 +202,13 @@ struct PrimeHandle {
|
||||
int32_t fileDescriptor;
|
||||
};
|
||||
|
||||
struct SyncObjHandle {
|
||||
uint32_t handle;
|
||||
uint32_t flags;
|
||||
int32_t fd;
|
||||
uint32_t pad;
|
||||
};
|
||||
|
||||
struct PrimaryContextHandle {
|
||||
uint32_t handle;
|
||||
int32_t fd;
|
||||
@@ -271,6 +278,7 @@ enum class DrmIoctl {
|
||||
gemClose,
|
||||
primeFdToHandle,
|
||||
primeHandleToFd,
|
||||
syncObjFdToHandle,
|
||||
gemVmBind,
|
||||
gemVmUnbind,
|
||||
gemWaitUserFence,
|
||||
|
||||
Reference in New Issue
Block a user