Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -34,6 +34,10 @@ · 33 unmodified lines | |||
| 34 | 34 | ||
| 35 | #include "drm.h" | 35 | #include "drm.h" |
| 36 | 36 | ||
| 37 | #if defined(__cplusplus) | ||
| 38 | extern "C" { | ||
| 39 | #endif | ||
| 40 | |||
| 37 | #define DRM_AMDGPU_GEM_CREATE 0x00 | 41 | #define DRM_AMDGPU_GEM_CREATE 0x00 |
| 38 | #define DRM_AMDGPU_GEM_MMAP 0x01 | 42 | #define DRM_AMDGPU_GEM_MMAP 0x01 |
| 39 | #define DRM_AMDGPU_CTX 0x02 | 43 | #define DRM_AMDGPU_CTX 0x02 |
| @@ -642,4 +646,8 @@ struct drm_amdgpu_info_hw_ip { · 602 unmodified lines | |||
| 642 | #define AMDGPU_FAMILY_VI 130 /* Iceland, Tonga */ | 646 | #define AMDGPU_FAMILY_VI 130 /* Iceland, Tonga */ |
| 643 | #define AMDGPU_FAMILY_CZ 135 /* Carrizo, Stoney */ | 647 | #define AMDGPU_FAMILY_CZ 135 /* Carrizo, Stoney */ |
| 644 | 648 | ||
| 649 | #if defined(__cplusplus) | ||
| 650 | } | ||
| 651 | #endif | ||
| 652 | |||
| 645 | #endif | 653 | #endif |