diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 400d430b..75011998 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -1264,9 +1264,27 @@ struct nvgpu_dbg_gpu_access_fb_memory_args { | |||
1264 | #define NVGPU_DBG_GPU_IOCTL_ACCESS_FB_MEMORY \ | 1264 | #define NVGPU_DBG_GPU_IOCTL_ACCESS_FB_MEMORY \ |
1265 | _IOWR(NVGPU_DBG_GPU_IOCTL_MAGIC, 19, struct nvgpu_dbg_gpu_access_fb_memory_args) | 1265 | _IOWR(NVGPU_DBG_GPU_IOCTL_MAGIC, 19, struct nvgpu_dbg_gpu_access_fb_memory_args) |
1266 | 1266 | ||
1267 | struct nvgpu_dbg_gpu_profiler_obj_mgt_args { | ||
1268 | __u32 profiler_handle; | ||
1269 | __u32 reserved; | ||
1270 | }; | ||
1271 | |||
1272 | #define NVGPU_DBG_GPU_IOCTL_PROFILER_ALLOCATE \ | ||
1273 | _IOWR(NVGPU_DBG_GPU_IOCTL_MAGIC, 20, struct nvgpu_dbg_gpu_profiler_obj_mgt_args) | ||
1274 | |||
1275 | #define NVGPU_DBG_GPU_IOCTL_PROFILER_FREE \ | ||
1276 | _IOWR(NVGPU_DBG_GPU_IOCTL_MAGIC, 21, struct nvgpu_dbg_gpu_profiler_obj_mgt_args) | ||
1277 | |||
1278 | struct nvgpu_dbg_gpu_profiler_reserve_args { | ||
1279 | __u32 profiler_handle; | ||
1280 | __u32 acquire; | ||
1281 | }; | ||
1282 | |||
1283 | #define NVGPU_DBG_GPU_IOCTL_PROFILER_RESERVE \ | ||
1284 | _IOWR(NVGPU_DBG_GPU_IOCTL_MAGIC, 22, struct nvgpu_dbg_gpu_profiler_reserve_args) | ||
1267 | 1285 | ||
1268 | #define NVGPU_DBG_GPU_IOCTL_LAST \ | 1286 | #define NVGPU_DBG_GPU_IOCTL_LAST \ |
1269 | _IOC_NR(NVGPU_DBG_GPU_IOCTL_ACCESS_FB_MEMORY) | 1287 | _IOC_NR(NVGPU_DBG_GPU_IOCTL_PROFILER_RESERVE) |
1270 | 1288 | ||
1271 | #define NVGPU_DBG_GPU_IOCTL_MAX_ARG_SIZE \ | 1289 | #define NVGPU_DBG_GPU_IOCTL_MAX_ARG_SIZE \ |
1272 | sizeof(struct nvgpu_dbg_gpu_access_fb_memory_args) | 1290 | sizeof(struct nvgpu_dbg_gpu_access_fb_memory_args) |