summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b
diff options
context:
space:
mode:
authorAingara Paramakuru <aparamakuru@nvidia.com>2016-02-25 14:19:24 -0500
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-03-22 13:42:45 -0400
commit82da6ed595a87c8a3038eecd75880ab21dd4c5de (patch)
tree03e1e1f13c3eaf5d21c1d49362853362634835c9 /drivers/gpu/nvgpu/gm20b
parent032efd066ec4a8034204b6a34663ab2cac582fbe (diff)
gpu: nvgpu: add support to set channel timeslice
As part of improving GPU scheduling, userspace can now set a channel's timeslice, within reasonable limits imposed by the kernel driver. JIRA VFND-1312 Bug 1729664 Change-Id: I4c3430c43437889b8685f12988d4b967bb7877bb Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com> Reviewed-on: http://git-master/r/1020917 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r--drivers/gpu/nvgpu/gm20b/fifo_gm20b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
index 3fded03c..b9763224 100644
--- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c
@@ -114,6 +114,7 @@ void gm20b_init_fifo(struct gpu_ops *gops)
114 gops->fifo.free_inst = channel_gk20a_free_inst; 114 gops->fifo.free_inst = channel_gk20a_free_inst;
115 gops->fifo.setup_ramfc = channel_gk20a_setup_ramfc; 115 gops->fifo.setup_ramfc = channel_gk20a_setup_ramfc;
116 gops->fifo.channel_set_priority = gk20a_channel_set_priority; 116 gops->fifo.channel_set_priority = gk20a_channel_set_priority;
117 gops->fifo.channel_set_timeslice = gk20a_channel_set_timeslice;
117 118
118 gops->fifo.preempt_channel = gk20a_fifo_preempt_channel; 119 gops->fifo.preempt_channel = gk20a_fifo_preempt_channel;
119 gops->fifo.update_runlist = gk20a_fifo_update_runlist; 120 gops->fifo.update_runlist = gk20a_fifo_update_runlist;