History

drm/syncobj: add sync_file interaction. (v1.2)

This interface allows importing the fence from a sync_file into an existing drm sync object, or exporting the fence attached to an existing drm sync object into a new sync file object. This should only be used to interact with sync files where necessary. v1.1: fence put fixes (Chris), drop fence from ioctl names (Chris) fixup for new fence replace API.

Dave Airlie committed 9 years ago

Commit 3ee45a31 parent e9083422 files · +75 −2Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/drm/drm.h+2−0
@@ -708,6 +708,8 @@ struct drm_syncobj_destroy { · 707 unmodified lines
708 __u32 pad;708 __u32 pad;
709};709};
710 710
711#define DRM_SYNCOBJ_FD_TO_HANDLE_FLAGS_IMPORT_SYNC_FILE (1 << 0)
712#define DRM_SYNCOBJ_HANDLE_TO_FD_FLAGS_EXPORT_SYNC_FILE (1 << 0)
711struct drm_syncobj_handle {713struct drm_syncobj_handle {
712 __u32 handle;714 __u32 handle;
713 __u32 flags;715 __u32 flags;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t