user space needs a flexiable query ability. So that umd can get last signaled or submitted point. v2: add sanitizer checking. v3: rebase
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -778,11 +778,12 @@ struct drm_syncobj_array { · 777 unmodified lines | ||
| 778 | 778 | __u32 pad; |
| 779 | 779 | }; |
| 780 | 780 | |
| 781 | +#define DRM_SYNCOBJ_QUERY_FLAGS_LAST_SUBMITTED (1 << 0) /* last available point on timeline syncobj */ | |
| 781 | 782 | struct drm_syncobj_timeline_array { |
| 782 | 783 | __u64 handles; |
| 783 | 784 | __u64 points; |
| 784 | 785 | __u32 count_handles; |
| 785 | − __u32 pad; | |
| 786 | + __u32 flags; | |
| 786 | 787 | }; |
| 787 | 788 | |
| 788 | 789 | |