Skip to content

Commit 7b818dc

Browse files
committed
tools headers uapi: Synchronize drm/drm.h
To pick up the new ioctls added in these csets: 7595bda ("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 <adrian.hunter@intel.com> Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-atwz0arwanq1npu8pptwkoxt@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 621a5a3 commit 7b818dc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • tools/include/uapi/drm

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,13 @@ struct drm_get_cap {
680680
*/
681681
#define DRM_CLIENT_CAP_ATOMIC 3
682682

683+
/**
684+
* DRM_CLIENT_CAP_ASPECT_RATIO
685+
*
686+
* If set to 1, the DRM core will provide aspect ratio information in modes.
687+
*/
688+
#define DRM_CLIENT_CAP_ASPECT_RATIO 4
689+
683690
/** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */
684691
struct drm_set_client_cap {
685692
__u64 capability;

0 commit comments

Comments
 (0)