diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 6fdf4025..f55346db 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -547,8 +547,20 @@ struct nvgpu_dbg_gpu_pc_sampling_args { | |||
547 | #define NVGPU_DBG_GPU_IOCTL_PC_SAMPLING \ | 547 | #define NVGPU_DBG_GPU_IOCTL_PC_SAMPLING \ |
548 | _IOW(NVGPU_DBG_GPU_IOCTL_MAGIC, 9, struct nvgpu_dbg_gpu_pc_sampling_args) | 548 | _IOW(NVGPU_DBG_GPU_IOCTL_MAGIC, 9, struct nvgpu_dbg_gpu_pc_sampling_args) |
549 | 549 | ||
550 | /* Enable/Disable timeouts */ | ||
551 | #define NVGPU_DBG_GPU_IOCTL_TIMEOUT_ENABLE 1 | ||
552 | #define NVGPU_DBG_GPU_IOCTL_TIMEOUT_DISABLE 0 | ||
553 | |||
554 | struct nvgpu_dbg_gpu_timeout_args { | ||
555 | __u32 enable; | ||
556 | __u32 padding; | ||
557 | }; | ||
558 | |||
559 | #define NVGPU_DBG_GPU_IOCTL_TIMEOUT \ | ||
560 | _IOW(NVGPU_DBG_GPU_IOCTL_MAGIC, 10, struct nvgpu_dbg_gpu_timeout_args) | ||
561 | |||
550 | #define NVGPU_DBG_GPU_IOCTL_LAST \ | 562 | #define NVGPU_DBG_GPU_IOCTL_LAST \ |
551 | _IOC_NR(NVGPU_DBG_GPU_IOCTL_PC_SAMPLING) | 563 | _IOC_NR(NVGPU_DBG_GPU_IOCTL_TIMEOUT) |
552 | #define NVGPU_DBG_GPU_IOCTL_MAX_ARG_SIZE \ | 564 | #define NVGPU_DBG_GPU_IOCTL_MAX_ARG_SIZE \ |
553 | sizeof(struct nvgpu_dbg_gpu_perfbuf_map_args) | 565 | sizeof(struct nvgpu_dbg_gpu_perfbuf_map_args) |
554 | 566 | ||