History

drm/syncobj: extend syncobj query ability v3

user space needs a flexiable query ability. So that umd can get last signaled or submitted point. v2: add sanitizer checking. v3: rebase

Chunming Zhou committed 7 years ago

Commit 2093dea1 parent be428f22 files · +24 −16Browse files

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

Unified · Split

include/uapi/drm/drm.h+2−1
@@ -778,11 +778,12 @@ struct drm_syncobj_array { · 777 unmodified lines
778 __u32 pad;778 __u32 pad;
779};779};
780 780
781#define DRM_SYNCOBJ_QUERY_FLAGS_LAST_SUBMITTED (1 << 0) /* last available point on timeline syncobj */
781struct drm_syncobj_timeline_array {782struct drm_syncobj_timeline_array {
782 __u64 handles;783 __u64 handles;
783 __u64 points;784 __u64 points;
784 __u32 count_handles;785 __u32 count_handles;
785 __u32 pad;786 __u32 flags;
786};787};
787 788
788 789