diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/tsg_gk20a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c index 1e479395..5298d380 100644 --- a/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/tsg_gk20a.c | |||
@@ -582,7 +582,7 @@ long gk20a_tsg_dev_ioctl(struct file *filp, unsigned int cmd, | |||
582 | "failed to host gk20a for ioctl cmd: 0x%x", cmd); | 582 | "failed to host gk20a for ioctl cmd: 0x%x", cmd); |
583 | return err; | 583 | return err; |
584 | } | 584 | } |
585 | err = gk20a_tsg_set_timeslice(tsg, | 585 | err = g->ops.fifo.tsg_set_timeslice(tsg, |
586 | ((struct nvgpu_timeslice_args *)buf)->timeslice_us); | 586 | ((struct nvgpu_timeslice_args *)buf)->timeslice_us); |
587 | gk20a_idle(g->dev); | 587 | gk20a_idle(g->dev); |
588 | break; | 588 | break; |
@@ -607,4 +607,5 @@ void gk20a_init_tsg_ops(struct gpu_ops *gops) | |||
607 | { | 607 | { |
608 | gops->fifo.tsg_bind_channel = gk20a_tsg_bind_channel; | 608 | gops->fifo.tsg_bind_channel = gk20a_tsg_bind_channel; |
609 | gops->fifo.tsg_unbind_channel = gk20a_tsg_unbind_channel; | 609 | gops->fifo.tsg_unbind_channel = gk20a_tsg_unbind_channel; |
610 | gops->fifo.tsg_set_timeslice = gk20a_tsg_set_timeslice; | ||
610 | } | 611 | } |