mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
592a31fd92
commit
3ff666c4b9
@@ -1314,21 +1314,6 @@ long gk20a_channel_ioctl(struct file *filp,
|
||||
((struct nvgpu_get_param_args *)buf)->value =
|
||||
ch->has_timedout;
|
||||
break;
|
||||
case NVGPU_IOCTL_CHANNEL_SET_PRIORITY:
|
||||
err = gk20a_busy(ch->g);
|
||||
if (err) {
|
||||
dev_err(dev,
|
||||
"%s: failed to host gk20a for ioctl cmd: 0x%x",
|
||||
__func__, cmd);
|
||||
break;
|
||||
}
|
||||
err = ch->g->ops.fifo.channel_set_priority(ch,
|
||||
((struct nvgpu_set_priority_args *)buf)->priority);
|
||||
|
||||
gk20a_idle(ch->g);
|
||||
gk20a_channel_trace_sched_param(
|
||||
trace_gk20a_channel_set_priority, ch);
|
||||
break;
|
||||
case NVGPU_IOCTL_CHANNEL_ENABLE:
|
||||
err = gk20a_busy(ch->g);
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user