diff options
author | Aingara Paramakuru <aparamakuru@nvidia.com> | 2016-04-08 18:07:08 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-16 10:35:51 -0400 |
commit | c4e4f2567d4503c939eff9777273bc6ab0902db8 (patch) | |
tree | 919c8e46b9790ff6fc547ae357a6496e0c19c95d /include/uapi/linux | |
parent | 6b35cb05b7822174bf037da7229154004df4f229 (diff) |
gpu: nvgpu: add TSG interleave support
Add support for changing a TSG's runlist interleave
level.
JIRA VFND-1497
Bug 1749744
Change-Id: I3cf3ebc2334f83b1bfb6b3230fae2ca73c75c239
Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/1122677
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r-- | include/uapi/linux/nvgpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index cf89b9d8..16d60261 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h | |||
@@ -465,11 +465,13 @@ struct nvgpu_gpu_get_gpu_time_args { | |||
465 | _IOW(NVGPU_TSG_IOCTL_MAGIC, 6, struct nvgpu_set_priority_args) | 465 | _IOW(NVGPU_TSG_IOCTL_MAGIC, 6, struct nvgpu_set_priority_args) |
466 | #define NVGPU_IOCTL_TSG_EVENT_ID_CTRL \ | 466 | #define NVGPU_IOCTL_TSG_EVENT_ID_CTRL \ |
467 | _IOWR(NVGPU_TSG_IOCTL_MAGIC, 7, struct nvgpu_event_id_ctrl_args) | 467 | _IOWR(NVGPU_TSG_IOCTL_MAGIC, 7, struct nvgpu_event_id_ctrl_args) |
468 | #define NVGPU_IOCTL_TSG_SET_RUNLIST_INTERLEAVE \ | ||
469 | _IOW(NVGPU_TSG_IOCTL_MAGIC, 8, struct nvgpu_runlist_interleave_args) | ||
468 | 470 | ||
469 | #define NVGPU_TSG_IOCTL_MAX_ARG_SIZE \ | 471 | #define NVGPU_TSG_IOCTL_MAX_ARG_SIZE \ |
470 | sizeof(struct nvgpu_event_id_ctrl_args) | 472 | sizeof(struct nvgpu_event_id_ctrl_args) |
471 | #define NVGPU_TSG_IOCTL_LAST \ | 473 | #define NVGPU_TSG_IOCTL_LAST \ |
472 | _IOC_NR(NVGPU_IOCTL_TSG_EVENT_ID_CTRL) | 474 | _IOC_NR(NVGPU_IOCTL_TSG_SET_RUNLIST_INTERLEAVE) |
473 | 475 | ||
474 | 476 | ||
475 | /* | 477 | /* |