To pick up the changes in this cset: 56c594d8df64e726 ("drm: add DRM_SET_CLIENT_NAME ioctl") This addresses these 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 for further details.
Showing the changes to tools/include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -1024,6 +1024,13 @@ struct drm_crtc_queue_sequence { · 1023 unmodified lines | |||
| 1024 | __u64 user_data; /* user data passed to event */ | 1024 | __u64 user_data; /* user data passed to event */ |
| 1025 | }; | 1025 | }; |
| 1026 | 1026 | ||
| 1027 | #define DRM_CLIENT_NAME_MAX_LEN 64 | ||
| 1028 | struct drm_set_client_name { | ||
| 1029 | __u64 name_len; | ||
| 1030 | __u64 name; | ||
| 1031 | }; | ||
| 1032 | |||
| 1033 | |||
| 1027 | #if defined(__cplusplus) | 1034 | #if defined(__cplusplus) |
| 1028 | } | 1035 | } |
| 1029 | #endif | 1036 | #endif |
| @@ -1288,6 +1295,16 @@ extern "C" { · 258 unmodified lines | |||
| 1288 | */ | 1295 | */ |
| 1289 | #define DRM_IOCTL_MODE_CLOSEFB DRM_IOWR(0xD0, struct drm_mode_closefb) | 1296 | #define DRM_IOCTL_MODE_CLOSEFB DRM_IOWR(0xD0, struct drm_mode_closefb) |
| 1290 | 1297 | ||
| 1298 | /** | ||
| 1299 | * DRM_IOCTL_SET_CLIENT_NAME - Attach a name to a drm_file | ||
| 1300 | * | ||
| 1301 | * Having a name allows for easier tracking and debugging. | ||
| 1302 | * The length of the name (without null ending char) must be | ||
| 1303 | * <= DRM_CLIENT_NAME_MAX_LEN. | ||
| 1304 | * The call will fail if the name contains whitespaces or non-printable chars. | ||
| 1305 | */ | ||
| 1306 | #define DRM_IOCTL_SET_CLIENT_NAME DRM_IOWR(0xD1, struct drm_set_client_name) | ||
| 1307 | |||
| 1291 | /* | 1308 | /* |
| 1292 | * Device specific ioctls should only be in their respective headers | 1309 | * Device specific ioctls should only be in their respective headers |
| 1293 | * The device specific ioctl range is from 0x40 to 0x9f. | 1310 | * The device specific ioctl range is from 0x40 to 0x9f. |