Skip to content

Commit 434ea1b

Browse files
committed
tools headers uapi: Update tools's copy of drm/drm.h
To get the changes in: d67b6a2 ("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]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent f9e6e43 commit 434ea1b

File tree

1 file changed

+9
-0
lines changed
  • tools/include/uapi/drm

1 file changed

+9
-0
lines changed

tools/include/uapi/drm/drm.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,15 @@ struct drm_get_cap {
687687
*/
688688
#define DRM_CLIENT_CAP_ASPECT_RATIO 4
689689

690+
/**
691+
* DRM_CLIENT_CAP_WRITEBACK_CONNECTORS
692+
*
693+
* If set to 1, the DRM core will expose special connectors to be used for
694+
* writing back to memory the scene setup in the commit. Depends on client
695+
* also supporting DRM_CLIENT_CAP_ATOMIC
696+
*/
697+
#define DRM_CLIENT_CAP_WRITEBACK_CONNECTORS 5
698+
690699
/** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */
691700
struct drm_set_client_cap {
692701
__u64 capability;

0 commit comments

Comments
 (0)