From 3ff666c4b97c5ad869aefe0d9c335c187962c20e Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Wed, 15 Nov 2017 01:34:59 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1598581 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c index 04ee84f4..99c518b5 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c @@ -427,7 +427,6 @@ void gk20a_ce_suspend(struct gk20a *g) /* CE app utility functions */ u32 gk20a_ce_create_context(struct gk20a *g, int runlist_id, - int priority, int timeslice, int runlist_level) { @@ -507,16 +506,6 @@ u32 gk20a_ce_create_context(struct gk20a *g, memset(ce_ctx->cmd_buf_mem.cpu_va, 0x00, ce_ctx->cmd_buf_mem.size); - /* -1 means default channel priority */ - if (priority != -1) { - err = gk20a_fifo_set_priority(ce_ctx->ch, priority); - if (err) { - nvgpu_err(g, - "ce: could not set the channel priority for CE context"); - goto end; - } - } - /* -1 means default channel timeslice value */ if (timeslice != -1) { err = gk20a_fifo_set_timeslice(ce_ctx->ch, timeslice); -- cgit v1.2.2