summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_tsg.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_tsg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
index d35ea14c..10379633 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
@@ -409,7 +409,7 @@ long nvgpu_ioctl_tsg_dev_ioctl(struct file *filp, unsigned int cmd,
409 "failed to host gk20a for ioctl cmd: 0x%x", cmd); 409 "failed to host gk20a for ioctl cmd: 0x%x", cmd);
410 return err; 410 return err;
411 } 411 }
412 gk20a_enable_tsg(tsg); 412 g->ops.fifo.enable_tsg(tsg);
413 gk20a_idle(g); 413 gk20a_idle(g);
414 break; 414 break;
415 } 415 }
@@ -422,7 +422,7 @@ long nvgpu_ioctl_tsg_dev_ioctl(struct file *filp, unsigned int cmd,
422 "failed to host gk20a for ioctl cmd: 0x%x", cmd); 422 "failed to host gk20a for ioctl cmd: 0x%x", cmd);
423 return err; 423 return err;
424 } 424 }
425 gk20a_disable_tsg(tsg); 425 g->ops.fifo.disable_tsg(tsg);
426 gk20a_idle(g); 426 gk20a_idle(g);
427 break; 427 break;
428 } 428 }