tools headers uapi: Synchronize drm/drm.h
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 7b818dc57230bf050bbc4218cd4df8ec59b9945d Gitweb: https://git.kernel.org/tip/7b818dc57230bf050bbc4218cd4df8ec59b9945d Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Fri, 15 Jun 2018 11:33:35 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Mon, 25 Jun 2018 11:59:36 -0300
tools headers uapi: Synchronize drm/drm.h
To pick up the new ioctls added in these csets:
7595bda2fb43 ("drm: Add DRM client cap for aspect-ratio")
The DRM caps are not yet being decoded in 'perf trace', so this sync doesn't incur in any change in behaviour in any tools, just silencing this tools/perf/ build warning:
Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h'
Cc Adrian Hunter <[email protected]>
Cc Ankit Nautiyal <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/include/uapi/drm/drm.h | 7 +++++++ 1 file changed, 7 insertions(+)
tools/include/uapi/drm/drm.h +7 -0
@@ -680,6 +680,13 @@ struct drm_get_cap {*/ #define DRM_CLIENT_CAP_ATOMIC 3 +/** +* DRM_CLIENT_CAP_ASPECT_RATIO +* +* If set to 1, the DRM core will provide aspect ratio information in modes. +*/ +#define DRM_CLIENT_CAP_ASPECT_RATIO 4 +/** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ struct drm_set_client_cap {__u64 capability;