gpu: nvgpu: Remove channel timeslice IOCTL

NVGPU_IOCTL_CHANNEL_SET_TIMESLICE IOCTL is unused since
corresponding TSG API is always used. Also, bare channels are not
supported anymore. Remove the IOCTL and the supporting code.
NVGPU_IOCTL_CHANNEL_GET_TIMESLICE IOCTL is already removed.

Bug 200612897

Change-Id: I1657018a7e9c3f97c72b16abeb41492eba44d789
Signed-off-by: Tejal Kudav <tkudav@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2359580
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Tejal Kudav
2020-06-11 12:45:11 +00:00
committed by Alex Waterman
parent ce39c27185
commit 4b33eaa2d9

View File

@@ -233,15 +233,6 @@ DEFINE_EVENT(gk20a_channel_sched_params, gk20a_channel_set_runlist_interleave,
interleave, graphics_preempt_mode, compute_preempt_mode)
);
DEFINE_EVENT(gk20a_channel_sched_params, gk20a_channel_set_timeslice,
TP_PROTO(int chid, int tsgid, pid_t pid, u32 timeslice,
u32 timeout, const char *interleave,
const char *graphics_preempt_mode,
const char *compute_preempt_mode),
TP_ARGS(chid, tsgid, pid, timeslice, timeout,
interleave, graphics_preempt_mode, compute_preempt_mode)
);
DEFINE_EVENT(gk20a_channel_sched_params, gk20a_channel_set_timeout,
TP_PROTO(int chid, int tsgid, pid_t pid, u32 timeslice,
u32 timeout, const char *interleave,