diff options
| author | Eric Paris <eparis@redhat.com> | 2014-03-07 11:41:32 -0500 |
|---|---|---|
| committer | Eric Paris <eparis@redhat.com> | 2014-03-07 11:41:32 -0500 |
| commit | b7d3622a39fde7658170b7f3cf6c6889bb8db30d (patch) | |
| tree | 64f4e781ecb2a85d675e234072b988560bcd25f1 /include/uapi | |
| parent | f3411cb2b2e396a41ed3a439863f028db7140a34 (diff) | |
| parent | d8ec26d7f8287f5788a494f56e8814210f0e64be (diff) | |
Merge tag 'v3.13' into for-3.15
Linux 3.13
Conflicts:
include/net/xfrm.h
Simple merge where v3.13 removed 'extern' from definitions and the audit
tree did s/u32/unsigned int/ to the same definitions.
Diffstat (limited to 'include/uapi')
63 files changed, 2163 insertions, 155 deletions
diff --git a/include/uapi/asm-generic/errno.h b/include/uapi/asm-generic/errno.h index a1331ce50445..1e1ea6e6e7a5 100644 --- a/include/uapi/asm-generic/errno.h +++ b/include/uapi/asm-generic/errno.h | |||
| @@ -86,7 +86,7 @@ | |||
| 86 | #define EHOSTUNREACH 113 /* No route to host */ | 86 | #define EHOSTUNREACH 113 /* No route to host */ |
| 87 | #define EALREADY 114 /* Operation already in progress */ | 87 | #define EALREADY 114 /* Operation already in progress */ |
| 88 | #define EINPROGRESS 115 /* Operation now in progress */ | 88 | #define EINPROGRESS 115 /* Operation now in progress */ |
| 89 | #define ESTALE 116 /* Stale NFS file handle */ | 89 | #define ESTALE 116 /* Stale file handle */ |
| 90 | #define EUCLEAN 117 /* Structure needs cleaning */ | 90 | #define EUCLEAN 117 /* Structure needs cleaning */ |
| 91 | #define ENOTNAM 118 /* Not a XENIX named type file */ | 91 | #define ENOTNAM 118 /* Not a XENIX named type file */ |
| 92 | #define ENAVAIL 119 /* No XENIX semaphores available */ | 92 | #define ENAVAIL 119 /* No XENIX semaphores available */ |
diff --git a/include/uapi/asm-generic/socket.h b/include/uapi/asm-generic/socket.h index f04b69b6abf2..38f14d0264c3 100644 --- a/include/uapi/asm-generic/socket.h +++ b/include/uapi/asm-generic/socket.h | |||
| @@ -78,4 +78,6 @@ | |||
| 78 | 78 | ||
| 79 | #define SO_BUSY_POLL 46 | 79 | #define SO_BUSY_POLL 46 |
| 80 | 80 | ||
| 81 | #define SO_MAX_PACING_RATE 47 | ||
| 82 | |||
| 81 | #endif /* __ASM_GENERIC_SOCKET_H */ | 83 | #endif /* __ASM_GENERIC_SOCKET_H */ |
diff --git a/include/uapi/drm/armada_drm.h b/include/uapi/drm/armada_drm.h new file mode 100644 index 000000000000..8dec3fdc99c7 --- /dev/null +++ b/include/uapi/drm/armada_drm.h | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2012 Russell King | ||
| 3 | * With inspiration from the i915 driver | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | ||
| 9 | #ifndef DRM_ARMADA_IOCTL_H | ||
| 10 | #define DRM_ARMADA_IOCTL_H | ||
| 11 | |||
| 12 | #define DRM_ARMADA_GEM_CREATE 0x00 | ||
| 13 | #define DRM_ARMADA_GEM_MMAP 0x02 | ||
| 14 | #define DRM_ARMADA_GEM_PWRITE 0x03 | ||
| 15 | |||
| 16 | #define ARMADA_IOCTL(dir, name, str) \ | ||
| 17 | DRM_##dir(DRM_COMMAND_BASE + DRM_ARMADA_##name, struct drm_armada_##str) | ||
| 18 | |||
| 19 | struct drm_armada_gem_create { | ||
| 20 | uint32_t handle; | ||
| 21 | uint32_t size; | ||
| 22 | }; | ||
| 23 | #define DRM_IOCTL_ARMADA_GEM_CREATE \ | ||
| 24 | ARMADA_IOCTL(IOWR, GEM_CREATE, gem_create) | ||
| 25 | |||
| 26 | struct drm_armada_gem_mmap { | ||
| 27 | uint32_t handle; | ||
| 28 | uint32_t pad; | ||
| 29 | uint64_t offset; | ||
| 30 | uint64_t size; | ||
| 31 | uint64_t addr; | ||
| 32 | }; | ||
| 33 | #define DRM_IOCTL_ARMADA_GEM_MMAP \ | ||
| 34 | ARMADA_IOCTL(IOWR, GEM_MMAP, gem_mmap) | ||
| 35 | |||
| 36 | struct drm_armada_gem_pwrite { | ||
| 37 | uint64_t ptr; | ||
| 38 | uint32_t handle; | ||
| 39 | uint32_t offset; | ||
| 40 | uint32_t size; | ||
| 41 | }; | ||
| 42 | #define DRM_IOCTL_ARMADA_GEM_PWRITE \ | ||
| 43 | ARMADA_IOCTL(IOW, GEM_PWRITE, gem_pwrite) | ||
| 44 | |||
| 45 | #endif | ||
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index ece867889cc7..9b24d65fed72 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h | |||
| @@ -611,12 +611,37 @@ struct drm_gem_open { | |||
| 611 | __u64 size; | 611 | __u64 size; |
| 612 | }; | 612 | }; |
| 613 | 613 | ||
| 614 | #define DRM_CAP_DUMB_BUFFER 0x1 | ||
| 615 | #define DRM_CAP_VBLANK_HIGH_CRTC 0x2 | ||
| 616 | #define DRM_CAP_DUMB_PREFERRED_DEPTH 0x3 | ||
| 617 | #define DRM_CAP_DUMB_PREFER_SHADOW 0x4 | ||
| 618 | #define DRM_CAP_PRIME 0x5 | ||
| 619 | #define DRM_PRIME_CAP_IMPORT 0x1 | ||
| 620 | #define DRM_PRIME_CAP_EXPORT 0x2 | ||
| 621 | #define DRM_CAP_TIMESTAMP_MONOTONIC 0x6 | ||
| 622 | #define DRM_CAP_ASYNC_PAGE_FLIP 0x7 | ||
| 623 | |||
| 614 | /** DRM_IOCTL_GET_CAP ioctl argument type */ | 624 | /** DRM_IOCTL_GET_CAP ioctl argument type */ |
| 615 | struct drm_get_cap { | 625 | struct drm_get_cap { |
| 616 | __u64 capability; | 626 | __u64 capability; |
