Skip to content

Commit be6c9e8

Browse files
committed
tools headers: Sync UAPI drm/drm.h with kernel sources
To pick up changes from: 179ab8e ("drm/colorop: Introduce DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE") This should be used to beautify DRM syscall arguments and it addresses these tools/perf build warnings: Warning: Kernel ABI header differences: diff -u tools/include/uapi/drm/drm.h include/uapi/drm/drm.h Please see tools/include/uapi/README. Cc: dri-devel@lists.freedesktop.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
1 parent d852b83 commit be6c9e8

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

  • tools/include/uapi/drm

tools/include/uapi/drm/drm.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,21 @@ struct drm_get_cap {
906906
*/
907907
#define DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT 6
908908

909+
/**
910+
* DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE
911+
*
912+
* If set to 1 the DRM core will allow setting the COLOR_PIPELINE
913+
* property on a &drm_plane, as well as drm_colorop properties.
914+
*
915+
* Setting of these plane properties will be rejected when this client
916+
* cap is set:
917+
* - COLOR_ENCODING
918+
* - COLOR_RANGE
919+
*
920+
* The client must enable &DRM_CLIENT_CAP_ATOMIC first.
921+
*/
922+
#define DRM_CLIENT_CAP_PLANE_COLOR_PIPELINE 7
923+
909924
/* DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */
910925
struct drm_set_client_cap {
911926
__u64 capability;

0 commit comments

Comments
 (0)