diff options
author | Eric Anholt | 2017-11-08 13:18:47 -0600 |
---|---|---|
committer | Eric Anholt | 2017-11-10 14:10:15 -0600 |
commit | 59808bcacd48f4168c3c1093b4616c2ee039b5a1 (patch) | |
tree | 6f6b7badc5e07a9b9274ce359ab37826557e5a64 /include/drm | |
parent | 8affa2699587b8239135b75ade24ee837df1606c (diff) | |
download | external-libgbm-59808bcacd48f4168c3c1093b4616c2ee039b5a1.tar.gz external-libgbm-59808bcacd48f4168c3c1093b4616c2ee039b5a1.tar.xz external-libgbm-59808bcacd48f4168c3c1093b4616c2ee039b5a1.zip |
headers: Sync up mga_drm.h from drm-next.
The kernel started using the struct from drm.h instead of the typedef.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/README | 4 | ||||
-rw-r--r-- | include/drm/mga_drm.h | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/include/drm/README b/include/drm/README index 47d80929..6e12ca4d 100644 --- a/include/drm/README +++ b/include/drm/README | |||
@@ -100,10 +100,6 @@ i915_drm.h | |||
100 | - Missing PARAMS - HAS_POOLED_EU, MIN_EU_IN_POOL CONTEXT_PARAM_NO_ERROR_CAPTURE | 100 | - Missing PARAMS - HAS_POOLED_EU, MIN_EU_IN_POOL CONTEXT_PARAM_NO_ERROR_CAPTURE |
101 | Status: Trivial. | 101 | Status: Trivial. |
102 | 102 | ||
103 | mga_drm.h | ||
104 | - Typo fix, use struct over typedef. | ||
105 | Status: Trivial. | ||
106 | |||
107 | nouveau_drm.h | 103 | nouveau_drm.h |
108 | - Missing macros NOUVEAU_GETPARAM*, NOUVEAU_DRM_HEADER_PATCHLEVEL, structs, | 104 | - Missing macros NOUVEAU_GETPARAM*, NOUVEAU_DRM_HEADER_PATCHLEVEL, structs, |
109 | enums, using stdint.h over the __u* types. | 105 | enums, using stdint.h over the __u* types. |
diff --git a/include/drm/mga_drm.h b/include/drm/mga_drm.h index 7035a664..79300111 100644 --- a/include/drm/mga_drm.h +++ b/include/drm/mga_drm.h | |||
@@ -252,7 +252,7 @@ typedef struct _drm_mga_sarea { | |||
252 | #define DRM_MGA_DMA_BOOTSTRAP 0x0c | 252 | #define DRM_MGA_DMA_BOOTSTRAP 0x0c |
253 | 253 | ||
254 | #define DRM_IOCTL_MGA_INIT DRM_IOW( DRM_COMMAND_BASE + DRM_MGA_INIT, drm_mga_init_t) | 254 | #define DRM_IOCTL_MGA_INIT DRM_IOW( DRM_COMMAND_BASE + DRM_MGA_INIT, drm_mga_init_t) |
255 | #define DRM_IOCTL_MGA_FLUSH DRM_IOW( DRM_COMMAND_BASE + DRM_MGA_FLUSH, drm_lock_t) | 255 | #define DRM_IOCTL_MGA_FLUSH DRM_IOW( DRM_COMMAND_BASE + DRM_MGA_FLUSH, struct drm_lock) |
256 | #define DRM_IOCTL_MGA_RESET DRM_IO( DRM_COMMAND_BASE + DRM_MGA_RESET) | 256 | #define DRM_IOCTL_MGA_RESET DRM_IO( DRM_COMMAND_BASE + DRM_MGA_RESET) |
257 | #define DRM_IOCTL_MGA_SWAP DRM_IO( DRM_COMMAND_BASE + DRM_MGA_SWAP) | 257 | #define DRM_IOCTL_MGA_SWAP DRM_IO( DRM_COMMAND_BASE + DRM_MGA_SWAP) |
258 | #define DRM_IOCTL_MGA_CLEAR DRM_IOW( DRM_COMMAND_BASE + DRM_MGA_CLEAR, drm_mga_clear_t) | 258 | #define DRM_IOCTL_MGA_CLEAR DRM_IOW( DRM_COMMAND_BASE + DRM_MGA_CLEAR, drm_mga_clear_t) |