From 82da6ed595a87c8a3038eecd75880ab21dd4c5de Mon Sep 17 00:00:00 2001 From: Aingara Paramakuru Date: Thu, 25 Feb 2016 14:19:24 -0500 Subject: 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 Reviewed-on: http://git-master/r/1020917 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gm20b/fifo_gm20b.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gm20b') 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) gops->fifo.free_inst = channel_gk20a_free_inst; gops->fifo.setup_ramfc = channel_gk20a_setup_ramfc; gops->fifo.channel_set_priority = gk20a_channel_set_priority; + gops->fifo.channel_set_timeslice = gk20a_channel_set_timeslice; gops->fifo.preempt_channel = gk20a_fifo_preempt_channel; gops->fifo.update_runlist = gk20a_fifo_update_runlist; -- cgit v1.2.2