search for: drm_scatter_gather

Displaying 5 results from an estimated 5 matches for "drm_scatter_gather".

2016 Apr 21
0
[PATCH 03/24] drm: add extern C guard for the UAPI headers
...ined(__cplusplus) +} +#endif + #include "drm_mode.h" +#if defined(__cplusplus) +extern "C" { +#endif + #define DRM_IOCTL_BASE 'd' #define DRM_IO(nr) _IO(DRM_IOCTL_BASE,nr) #define DRM_IOR(nr,type) _IOR(DRM_IOCTL_BASE,nr,type) @@ -886,4 +898,8 @@ typedef struct drm_scatter_gather drm_scatter_gather_t; typedef struct drm_set_version drm_set_version_t; #endif +#if defined(__cplusplus) +} +#endif + #endif diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 4d8da69..a5890bf 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_f...
2016 Apr 21
25
[PATCH 00/24] drm: add extern C guard for the UAPI headers
Hi all, As some of you may know there some subtle distinction between C and C++ structs, thus one should wrap/annotate them roughly like below. ... #if defined(__cplusplus) extern "C" { #endif struct foo { int bar; ... }; ... #if defined(__cplusplus) } #endif In order to work around the lack of these users can wrap the header inclusion in the same way. For example:
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...3ec 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -33,8 +33,8 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef _DRM_H_ -#define _DRM_H_ +#ifndef _UAPI_DRM_DRM_H +#define _UAPI_DRM_DRM_H #if defined(__KERNEL__) || defined(__linux__) @@ -829,4 +829,4 @@ typedef struct drm_scatter_gather drm_scatter_gather_t; typedef struct drm_set_version drm_set_version_t; #endif -#endif +#endif /* _UAPI_DRM_DRM_H */ diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 646ae5f..1efc52a 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...3ec 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -33,8 +33,8 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef _DRM_H_ -#define _DRM_H_ +#ifndef _UAPI_DRM_DRM_H +#define _UAPI_DRM_DRM_H #if defined(__KERNEL__) || defined(__linux__) @@ -829,4 +829,4 @@ typedef struct drm_scatter_gather drm_scatter_gather_t; typedef struct drm_set_version drm_set_version_t; #endif -#endif +#endif /* _UAPI_DRM_DRM_H */ diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 646ae5f..1efc52a 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...3ec 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -33,8 +33,8 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef _DRM_H_ -#define _DRM_H_ +#ifndef _UAPI_DRM_DRM_H +#define _UAPI_DRM_DRM_H #if defined(__KERNEL__) || defined(__linux__) @@ -829,4 +829,4 @@ typedef struct drm_scatter_gather drm_scatter_gather_t; typedef struct drm_set_version drm_set_version_t; #endif -#endif +#endif /* _UAPI_DRM_DRM_H */ diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 646ae5f..1efc52a 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @...