From ce39c27185f035f4ef1e8bc6949f542e482a7df7 Mon Sep 17 00:00:00 2001 From: Tejal Kudav Date: Thu, 11 Jun 2020 11:21:13 +0000 Subject: [PATCH] gpu: nvgpu: Remove unused channel timeslice ioctls NVGPU_IOCTL_CHANNEL_GET_TIMESLICE and NVGPU_IOCTL_CHANNEL_SET_TIMESLICE IOCTLs are unused since corresponding TSG APIs are always used. Also, bare channels are not supported anymore. The code to support these IOCTLs was removed earlier, but the IOCTL definitions were missed. Clean up these channel timeslice related orphan IOCTLs. Bug 200612897 Change-Id: I71f23c52bab9fdf83f3a3e652dbaa968ffcb45d9 Signed-off-by: Tejal Kudav Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2359518 Reviewed-by: automaticguardword Reviewed-by: Alex Waterman Reviewed-by: Deepak Nibade Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- include/uapi/linux/nvgpu.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h index 9a132aacc..a3cb5630a 100644 --- a/include/uapi/linux/nvgpu.h +++ b/include/uapi/linux/nvgpu.h @@ -1805,16 +1805,12 @@ struct nvgpu_reschedule_runlist_args { _IOW(NVGPU_IOCTL_MAGIC, 119, struct nvgpu_channel_wdt_args) #define NVGPU_IOCTL_CHANNEL_SET_RUNLIST_INTERLEAVE \ _IOW(NVGPU_IOCTL_MAGIC, 120, struct nvgpu_runlist_interleave_args) -#define NVGPU_IOCTL_CHANNEL_SET_TIMESLICE \ - _IOW(NVGPU_IOCTL_MAGIC, 121, struct nvgpu_timeslice_args) #define NVGPU_IOCTL_CHANNEL_SET_PREEMPTION_MODE \ _IOW(NVGPU_IOCTL_MAGIC, 122, struct nvgpu_preemption_mode_args) #define NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO_EX \ _IOW(NVGPU_IOCTL_MAGIC, 123, struct nvgpu_alloc_gpfifo_ex_args) #define NVGPU_IOCTL_CHANNEL_SET_BOOSTED_CTX \ _IOW(NVGPU_IOCTL_MAGIC, 124, struct nvgpu_boosted_ctx_args) -#define NVGPU_IOCTL_CHANNEL_GET_TIMESLICE \ - _IOW(NVGPU_IOCTL_MAGIC, 125, struct nvgpu_timeslice_args) #define NVGPU_IOCTL_CHANNEL_GET_USER_SYNCPOINT \ _IOR(NVGPU_IOCTL_MAGIC, 126, struct nvgpu_get_user_syncpoint_args) #define NVGPU_IOCTL_CHANNEL_RESCHEDULE_RUNLIST \