Skip to contentSkip to conversation

tools headers uapi: Update tools's copy of drm/drm.h

tip:perf/urgent tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Sep 12, 2018

lore
Share & tools
lore
#0 lore raw
Commit-ID:  434ea1bfbfc707f5fed9292df6a9b91dfb8e41f2
Gitweb:     https://git.kernel.org/tip/434ea1bfbfc707f5fed9292df6a9b91dfb8e41f2
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Tue, 11 Sep 2018 11:07:56 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 11 Sep 2018 11:07:56 -0300

tools headers uapi: Update tools's copy of drm/drm.h

To get the changes in:

d67b6a206507 ("drm: writeback: Add client capability for exposing writeback connectors")

This is for an argument to a DRM ioctl, which is not being prettyfied in the 'perf trace' DRM ioctl beautifier, but will now that syscalls are starting to have pointer arguments augmented via BPF.

This time around this just cures the following warning during perf's build:

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 <[email protected]>
Cc Brian Starkey <[email protected]>
Cc David Ahern <[email protected]>
Cc Eric Anholt <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Liviu Dudau <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Sean Paul <[email protected]>
Cc Wang Nan <[email protected]>
---
 tools/include/uapi/drm/drm.h | 9 +++++++++
 1 file changed, 9 insertions(+)
tools/include/uapi/drm/drm.h +9 -0
index 9c660e1688ab..300f336633f2 100644
@@ -687,6 +687,15 @@ struct drm_get_cap {
  */
 #define DRM_CLIENT_CAP_ASPECT_RATIO    4
 
+/**
+ * DRM_CLIENT_CAP_WRITEBACK_CONNECTORS
+ *
+ * If set to 1, the DRM core will expose special connectors to be used for
+ * writing back to memory the scene setup in the commit. Depends on client
+ * also supporting DRM_CLIENT_CAP_ATOMIC
+ */
+#define DRM_CLIENT_CAP_WRITEBACK_CONNECTORS	5
+
 /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */
 struct drm_set_client_cap {
 	__u64 capability;