Skip to content

Commit fd9bee5

Browse files
committed
tools headers UAPI: Update tools's copy of drm.h headers
Picking the changes from: 2093dea ("drm/syncobj: extend syncobj query ability v3") Which doesn't affect tooling, just silences this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h' diff -u tools/include/uapi/drm/drm.h include/uapi/drm/drm.h Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Christian König <christian.koenig@amd.com> Cc: Chunming Zhou <david1.zhou@amd.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-t1xqmjffo4rxdw395dsnu34j@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 0b3fca6 commit fd9bee5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • tools/include/uapi/drm

‎tools/include/uapi/drm/drm.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,11 +778,12 @@ struct drm_syncobj_array {
778778
__u32 pad;
779779
};
780780

781+
#define DRM_SYNCOBJ_QUERY_FLAGS_LAST_SUBMITTED (1 << 0) /* last available point on timeline syncobj */
781782
struct drm_syncobj_timeline_array {
782783
__u64 handles;
783784
__u64 points;
784785
__u32 count_handles;
785-
__u32 pad;
786+
__u32 flags;
786787
};
787788

788789

0 commit comments

Comments
 (0)