summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-10-30 16:29:14 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-02 12:26:00 -0400
commit952606b3b98f2994009288d6f628d4a8e70556bb (patch)
tree0e174497c0078f127e112cf61e75b3167956e5dd /drivers/gpu/nvgpu/gk20a/gk20a.c
parente1120727e7c854d093a21752c426c8597b16825d (diff)
gpu: nvgpu: Initialize Linux sched in Linux code
Initialize Linux scheduling extensions from Linux code. This removes a dependency between common and Linux code. JIRA NVGPU-259 Change-Id: Ibd882f82479eaac05ecc8cf743dd4a89bd7386f2 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1588663 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index f2bb6dcf..a282110a 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -300,12 +300,6 @@ int gk20a_finalize_poweron(struct gk20a *g)
300 nvgpu_warn(g, "could not initialize ctxsw tracing"); 300 nvgpu_warn(g, "could not initialize ctxsw tracing");
301#endif 301#endif
302 302
303 err = gk20a_sched_ctrl_init(g);
304 if (err) {
305 nvgpu_err(g, "failed to init sched control");
306 goto done;
307 }
308
309 /* Restore the debug setting */ 303 /* Restore the debug setting */
310 g->ops.fb.set_debug_mode(g, g->mmu_debug_ctrl); 304 g->ops.fb.set_debug_mode(g, g->mmu_debug_ctrl);
311 305