summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-11-15 04:40:51 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-15 11:46:19 -0500
commitaf5e4a1bf63037e7618adfa11a950244df5883f2 (patch)
treeebe1bef45727b6a8a9058e23a298027d4cb0d94e /drivers/gpu/nvgpu
parent72b51a129fda4a89f226aad7c99f062977a07189 (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: Idce925631653784e39864223dc418a99a7e7ca3c Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1598582 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c1
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.c1
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index 7f2b149b..4044c4b5 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -449,7 +449,6 @@ static const struct gpu_ops gv100_ops = {
449 .alloc_inst = gk20a_fifo_alloc_inst, 449 .alloc_inst = gk20a_fifo_alloc_inst,
450 .free_inst = gk20a_fifo_free_inst, 450 .free_inst = gk20a_fifo_free_inst,
451 .setup_ramfc = channel_gv11b_setup_ramfc, 451 .setup_ramfc = channel_gv11b_setup_ramfc,
452 .channel_set_priority = gk20a_fifo_set_priority,
453 .channel_set_timeslice = gk20a_fifo_set_timeslice, 452 .channel_set_timeslice = gk20a_fifo_set_timeslice,
454 .default_timeslice_us = gk20a_fifo_default_timeslice_us, 453 .default_timeslice_us = gk20a_fifo_default_timeslice_us,
455 .setup_userd = gk20a_fifo_setup_userd, 454 .setup_userd = gk20a_fifo_setup_userd,
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
index 5d8bbbdb..fc059caa 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
@@ -467,7 +467,6 @@ static const struct gpu_ops gv11b_ops = {
467 .alloc_inst = gk20a_fifo_alloc_inst, 467 .alloc_inst = gk20a_fifo_alloc_inst,
468 .free_inst = gk20a_fifo_free_inst, 468 .free_inst = gk20a_fifo_free_inst,
469 .setup_ramfc = channel_gv11b_setup_ramfc, 469 .setup_ramfc = channel_gv11b_setup_ramfc,
470 .channel_set_priority = gk20a_fifo_set_priority,
471 .channel_set_timeslice = gk20a_fifo_set_timeslice, 470 .channel_set_timeslice = gk20a_fifo_set_timeslice,
472 .default_timeslice_us = gk20a_fifo_default_timeslice_us, 471 .default_timeslice_us = gk20a_fifo_default_timeslice_us,
473 .setup_userd = gk20a_fifo_setup_userd, 472 .setup_userd = gk20a_fifo_setup_userd,
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
index b7c7cd2f..17d6f049 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c
@@ -330,7 +330,6 @@ static const struct gpu_ops vgpu_gv11b_ops = {
330 .alloc_inst = vgpu_channel_alloc_inst, 330 .alloc_inst = vgpu_channel_alloc_inst,
331 .free_inst = vgpu_channel_free_inst, 331 .free_inst = vgpu_channel_free_inst,
332 .setup_ramfc = vgpu_channel_setup_ramfc, 332 .setup_ramfc = vgpu_channel_setup_ramfc,
333 .channel_set_priority = vgpu_channel_set_priority,
334 .channel_set_timeslice = vgpu_channel_set_timeslice, 333 .channel_set_timeslice = vgpu_channel_set_timeslice,
335 .default_timeslice_us = vgpu_fifo_default_timeslice_us, 334 .default_timeslice_us = vgpu_fifo_default_timeslice_us,
336 .setup_userd = gk20a_fifo_setup_userd, 335 .setup_userd = gk20a_fifo_setup_userd,