Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -29,6 +29,10 @@ · 28 unmodified lines | |||
| 29 | 29 | ||
| 30 | #include <drm/drm.h> | 30 | #include <drm/drm.h> |
| 31 | 31 | ||
| 32 | #if defined(__cplusplus) | ||
| 33 | extern "C" { | ||
| 34 | #endif | ||
| 35 | |||
| 32 | #define NOUVEAU_GEM_DOMAIN_CPU (1 << 0) | 36 | #define NOUVEAU_GEM_DOMAIN_CPU (1 << 0) |
| 33 | #define NOUVEAU_GEM_DOMAIN_VRAM (1 << 1) | 37 | #define NOUVEAU_GEM_DOMAIN_VRAM (1 << 1) |
| 34 | #define NOUVEAU_GEM_DOMAIN_GART (1 << 2) | 38 | #define NOUVEAU_GEM_DOMAIN_GART (1 << 2) |
| @@ -141,4 +145,8 @@ struct drm_nouveau_gem_cpu_fini { · 106 unmodified lines | |||
| 141 | #define DRM_IOCTL_NOUVEAU_GEM_CPU_FINI DRM_IOW (DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_CPU_FINI, struct drm_nouveau_gem_cpu_fini) | 145 | #define DRM_IOCTL_NOUVEAU_GEM_CPU_FINI DRM_IOW (DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_CPU_FINI, struct drm_nouveau_gem_cpu_fini) |
| 142 | #define DRM_IOCTL_NOUVEAU_GEM_INFO DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_INFO, struct drm_nouveau_gem_info) | 146 | #define DRM_IOCTL_NOUVEAU_GEM_INFO DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_INFO, struct drm_nouveau_gem_info) |
| 143 | 147 | ||
| 148 | #if defined(__cplusplus) | ||
| 149 | } | ||
| 150 | #endif | ||
| 151 | |||
| 144 | #endif /* __NOUVEAU_DRM_H__ */ | 152 | #endif /* __NOUVEAU_DRM_H__ */ |