From c4e4f2567d4503c939eff9777273bc6ab0902db8 Mon Sep 17 00:00:00 2001 From: Aingara Paramakuru Date: Fri, 8 Apr 2016 18:07:08 -0400 Subject: 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 Reviewed-on: http://git-master/r/1122677 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- include/uapi/linux/nvgpu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/uapi/linux/nvgpu.h') 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 { _IOW(NVGPU_TSG_IOCTL_MAGIC, 6, struct nvgpu_set_priority_args) #define NVGPU_IOCTL_TSG_EVENT_ID_CTRL \ _IOWR(NVGPU_TSG_IOCTL_MAGIC, 7, struct nvgpu_event_id_ctrl_args) +#define NVGPU_IOCTL_TSG_SET_RUNLIST_INTERLEAVE \ + _IOW(NVGPU_TSG_IOCTL_MAGIC, 8, struct nvgpu_runlist_interleave_args) #define NVGPU_TSG_IOCTL_MAX_ARG_SIZE \ sizeof(struct nvgpu_event_id_ctrl_args) #define NVGPU_TSG_IOCTL_LAST \ - _IOC_NR(NVGPU_IOCTL_TSG_EVENT_ID_CTRL) + _IOC_NR(NVGPU_IOCTL_TSG_SET_RUNLIST_INTERLEAVE) /* -- cgit v1.2.2