summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/vgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu')
-rw-r--r--drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c
index f261d2ca..10c2211e 100644
--- a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c
+++ b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c
@@ -460,6 +460,7 @@ static int vgpu_init_hal(struct gk20a *g)
460int vgpu_pm_finalize_poweron(struct device *dev) 460int vgpu_pm_finalize_poweron(struct device *dev)
461{ 461{
462 struct gk20a *g = get_gk20a(dev); 462 struct gk20a *g = get_gk20a(dev);
463 struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
463 int err; 464 int err;
464 465
465 gk20a_dbg_fn(""); 466 gk20a_dbg_fn("");
@@ -501,6 +502,10 @@ int vgpu_pm_finalize_poweron(struct device *dev)
501 goto done; 502 goto done;
502 } 503 }
503 504
505 err = nvgpu_finalize_poweron_linux(l);
506 if (err)
507 goto done;
508
504 gk20a_ctxsw_trace_init(g); 509 gk20a_ctxsw_trace_init(g);
505 gk20a_sched_ctrl_init(g); 510 gk20a_sched_ctrl_init(g);
506 gk20a_channel_resume(g); 511 gk20a_channel_resume(g);