diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-06-15 10:33:35 -0400 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-06-25 10:59:36 -0400 |
| commit | 7b818dc57230bf050bbc4218cd4df8ec59b9945d (patch) | |
| tree | 86cddaa23f1aa786e8e64beed643ea33c95054c6 /tools/include | |
| parent | 621a5a327c1e36ffd7bb567f44a559f64f76358f (diff) | |
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 <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>
Diffstat (limited to 'tools/include')
| -rw-r--r-- | tools/include/uapi/drm/drm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/include/uapi/drm/drm.h b/tools/include/uapi/drm/drm.h index 6fdff5945c8a..9c660e1688ab 100644 --- a/tools/include/uapi/drm/drm.h +++ b/tools/include/uapi/drm/drm.h | |||
| @@ -680,6 +680,13 @@ struct drm_get_cap { | |||
| 680 | */ | 680 | */ |
| 681 | #define DRM_CLIENT_CAP_ATOMIC 3 | 681 | #define DRM_CLIENT_CAP_ATOMIC 3 |
| 682 | 682 | ||
| 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 | |||
| 683 | /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ | 690 | /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ |
| 684 | struct drm_set_client_cap { | 691 | struct drm_set_client_cap { |
| 685 | __u64 capability; | 692 | __u64 capability; |
