From 86691b59c6fae2b091855c0f4d44079cad8529b1 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 27 Dec 2017 13:04:17 -0800 Subject: gpu: nvgpu: Remove bare channel scheduling Remove scheduling IOCTL implementations for bare channels. Also removes code that constructs bare channels in runlist. Bug 1842197 Change-Id: I6e833b38e24a2f2c45c7993edf939d365eaf41f0 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1627326 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | 5 +++-- 1 file changed, 3 insertions(+), 2 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 5e2fc6b3..ec20a679 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c @@ -504,7 +504,7 @@ u32 gk20a_ce_create_context(struct gk20a *g, /* -1 means default channel timeslice value */ if (timeslice != -1) { - err = gk20a_fifo_set_timeslice(ce_ctx->ch, timeslice); + err = gk20a_fifo_tsg_set_timeslice(ce_ctx->tsg, timeslice); if (err) { nvgpu_err(g, "ce: could not set the channel timeslice value for CE context"); @@ -514,7 +514,8 @@ u32 gk20a_ce_create_context(struct gk20a *g, /* -1 means default channel runlist level */ if (runlist_level != -1) { - err = gk20a_channel_set_runlist_interleave(ce_ctx->ch, runlist_level); + err = gk20a_tsg_set_runlist_interleave(ce_ctx->tsg, + runlist_level); if (err) { nvgpu_err(g, "ce: could not set the runlist interleave for CE context"); -- cgit v1.2.2