mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: add TSG timeslice support
Add support for changing a TSG's timeslice, within reasonable limits imposed by the kernel driver. JIRA VFND-1494 Bug 1749744 Change-Id: Ifca1b63a00da7a5872483bb56692da70a5f18bdf Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com> Reviewed-on: http://git-master/r/1129837 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Terje Bergstrom
parent
2db5e4794e
commit
610a523b7d
@@ -467,11 +467,13 @@ struct nvgpu_gpu_get_gpu_time_args {
|
||||
_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_IOCTL_TSG_SET_TIMESLICE \
|
||||
_IOW(NVGPU_TSG_IOCTL_MAGIC, 9, struct nvgpu_timeslice_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_SET_RUNLIST_INTERLEAVE)
|
||||
_IOC_NR(NVGPU_IOCTL_TSG_SET_TIMESLICE)
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user