summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-11-15 04:34:59 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-15 11:46:09 -0500
commit3ff666c4b97c5ad869aefe0d9c335c187962c20e (patch)
tree42ad94e7e5b877154a482e07746bb45e6a0b0d6c /drivers/gpu/nvgpu/common/linux/ioctl_channel.c
parent592a31fd925d84622602b235647e9b50e2d34f47 (diff)
gpu: nvgpu: deprecate TSG/CHANNEL_SET_PRIORITY IOCTLs
TSG/CHANNEL_SET_PRIORITY IOCTLs are deprecated and user space should be using combination of timeslice and interleave levels to decide the priority Hence remove the IOCTLs and all corresponding APIs Jira NVGPU-393 Change-Id: I7cf0785689269536eca0c278c774b0e9e74f8c2f Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1598581 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_channel.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_channel.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
index 6feb6fb7..31651795 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
@@ -1314,21 +1314,6 @@ long gk20a_channel_ioctl(struct file *filp,
1314 ((struct nvgpu_get_param_args *)buf)->value = 1314 ((struct nvgpu_get_param_args *)buf)->value =
1315 ch->has_timedout; 1315 ch->has_timedout;
1316 break; 1316 break;
1317 case NVGPU_IOCTL_CHANNEL_SET_PRIORITY:
1318 err = gk20a_busy(ch->g);
1319 if (err) {
1320 dev_err(dev,
1321 "%s: failed to host gk20a for ioctl cmd: 0x%x",
1322 __func__, cmd);
1323 break;
1324 }
1325 err = ch->g->ops.fifo.channel_set_priority(ch,
1326 ((struct nvgpu_set_priority_args *)buf)->priority);
1327
1328 gk20a_idle(ch->g);
1329 gk20a_channel_trace_sched_param(
1330 trace_gk20a_channel_set_priority, ch);
1331 break;
1332 case NVGPU_IOCTL_CHANNEL_ENABLE: 1317 case NVGPU_IOCTL_CHANNEL_ENABLE:
1333 err = gk20a_busy(ch->g); 1318 err = gk20a_busy(ch->g);
1334 if (err) { 1319 if (err) {