summaryrefslogtreecommitdiffstats
path: root/include/uapi
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 /include/uapi
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 'include/uapi')
-rw-r--r--include/uapi/linux/nvgpu.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/uapi/linux/nvgpu.h b/include/uapi/linux/nvgpu.h
index 9d1a5bdb..20a6de29 100644
--- a/include/uapi/linux/nvgpu.h
+++ b/include/uapi/linux/nvgpu.h
@@ -1008,8 +1008,6 @@ struct nvgpu_gpu_set_event_filter_args {
1008 _IO(NVGPU_TSG_IOCTL_MAGIC, 4) 1008 _IO(NVGPU_TSG_IOCTL_MAGIC, 4)
1009#define NVGPU_IOCTL_TSG_PREEMPT \ 1009#define NVGPU_IOCTL_TSG_PREEMPT \
1010 _IO(NVGPU_TSG_IOCTL_MAGIC, 5) 1010 _IO(NVGPU_TSG_IOCTL_MAGIC, 5)
1011#define NVGPU_IOCTL_TSG_SET_PRIORITY \
1012 _IOW(NVGPU_TSG_IOCTL_MAGIC, 6, struct nvgpu_set_priority_args)
1013#define NVGPU_IOCTL_TSG_EVENT_ID_CTRL \ 1011#define NVGPU_IOCTL_TSG_EVENT_ID_CTRL \
1014 _IOWR(NVGPU_TSG_IOCTL_MAGIC, 7, struct nvgpu_event_id_ctrl_args) 1012 _IOWR(NVGPU_TSG_IOCTL_MAGIC, 7, struct nvgpu_event_id_ctrl_args)
1015#define NVGPU_IOCTL_TSG_SET_RUNLIST_INTERLEAVE \ 1013#define NVGPU_IOCTL_TSG_SET_RUNLIST_INTERLEAVE \
@@ -1356,9 +1354,6 @@ struct nvgpu_dbg_gpu_profiler_reserve_args {
1356 1354
1357#define NVGPU_IOCTL_MAGIC 'H' 1355#define NVGPU_IOCTL_MAGIC 'H'
1358#define NVGPU_NO_TIMEOUT ((u32)~0) 1356#define NVGPU_NO_TIMEOUT ((u32)~0)
1359#define NVGPU_PRIORITY_LOW 50
1360#define NVGPU_PRIORITY_MEDIUM 100
1361#define NVGPU_PRIORITY_HIGH 150
1362#define NVGPU_TIMEOUT_FLAG_DISABLE_DUMP 0 1357#define NVGPU_TIMEOUT_FLAG_DISABLE_DUMP 0
1363 1358
1364/* this is also the hardware memory format */ 1359/* this is also the hardware memory format */
@@ -1499,10 +1494,6 @@ struct nvgpu_set_timeout_ex_args {
1499 __u32 flags; 1494 __u32 flags;
1500}; 1495};
1501 1496
1502struct nvgpu_set_priority_args {
1503 __u32 priority;
1504} __packed;
1505
1506#define NVGPU_ZCULL_MODE_GLOBAL 0 1497#define NVGPU_ZCULL_MODE_GLOBAL 0
1507#define NVGPU_ZCULL_MODE_NO_CTXSW 1 1498#define NVGPU_ZCULL_MODE_NO_CTXSW 1
1508#define NVGPU_ZCULL_MODE_SEPARATE_BUFFER 2 1499#define NVGPU_ZCULL_MODE_SEPARATE_BUFFER 2
@@ -1630,8 +1621,6 @@ struct nvgpu_boosted_ctx_args {
1630 _IOW(NVGPU_IOCTL_MAGIC, 11, struct nvgpu_set_timeout_args) 1621 _IOW(NVGPU_IOCTL_MAGIC, 11, struct nvgpu_set_timeout_args)
1631#define NVGPU_IOCTL_CHANNEL_GET_TIMEDOUT \ 1622#define NVGPU_IOCTL_CHANNEL_GET_TIMEDOUT \
1632 _IOR(NVGPU_IOCTL_MAGIC, 12, struct nvgpu_get_param_args) 1623 _IOR(NVGPU_IOCTL_MAGIC, 12, struct nvgpu_get_param_args)
1633#define NVGPU_IOCTL_CHANNEL_SET_PRIORITY \
1634 _IOW(NVGPU_IOCTL_MAGIC, 13, struct nvgpu_set_priority_args)
1635#define NVGPU_IOCTL_CHANNEL_SET_TIMEOUT_EX \ 1624#define NVGPU_IOCTL_CHANNEL_SET_TIMEOUT_EX \
1636 _IOWR(NVGPU_IOCTL_MAGIC, 18, struct nvgpu_set_timeout_ex_args) 1625 _IOWR(NVGPU_IOCTL_MAGIC, 18, struct nvgpu_set_timeout_ex_args)
1637#define NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO \ 1626#define NVGPU_IOCTL_CHANNEL_ALLOC_GPFIFO \