summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nvgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/nvgpu.h')
-rw-r--r--include/uapi/linux/nvgpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h
index f55346db..6024edee 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -377,11 +377,13 @@ struct nvgpu_gpu_vsms_mapping {
377 _IO(NVGPU_TSG_IOCTL_MAGIC, 4) 377 _IO(NVGPU_TSG_IOCTL_MAGIC, 4)
378#define NVGPU_IOCTL_TSG_PREEMPT \ 378#define NVGPU_IOCTL_TSG_PREEMPT \
379 _IO(NVGPU_TSG_IOCTL_MAGIC, 5) 379 _IO(NVGPU_TSG_IOCTL_MAGIC, 5)
380#define NVGPU_IOCTL_TSG_SET_PRIORITY \
381 _IOW(NVGPU_TSG_IOCTL_MAGIC, 6, struct nvgpu_set_priority_args)
380 382
381#define NVGPU_TSG_IOCTL_MAX_ARG_SIZE \ 383#define NVGPU_TSG_IOCTL_MAX_ARG_SIZE \
382 sizeof(int) 384 sizeof(struct nvgpu_set_priority_args)
383#define NVGPU_TSG_IOCTL_LAST \ 385#define NVGPU_TSG_IOCTL_LAST \
384 _IOC_NR(NVGPU_IOCTL_TSG_PREEMPT) 386 _IOC_NR(NVGPU_IOCTL_TSG_SET_PRIORITY)
385/* 387/*
386 * /dev/nvhost-dbg-gpu device 388 * /dev/nvhost-dbg-gpu device
387 * 389 *