summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 99d2fe63..03bbf72f 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -974,6 +974,12 @@ int gk20a_pm_finalize_poweron(struct device *dev)
974 } 974 }
975#endif 975#endif
976 976
977 err = nvgpu_clk_arb_init_arbiter(g);
978 if (err) {
979 gk20a_err(dev, "failed to init clk arb");
980 goto done;
981 }
982
977 if (g->ops.pmu.is_pmu_supported(g)) { 983 if (g->ops.pmu.is_pmu_supported(g)) {
978 err = gk20a_init_pmu_support(g); 984 err = gk20a_init_pmu_support(g);
979 if (err) { 985 if (err) {
@@ -1644,6 +1650,8 @@ static int __exit gk20a_remove(struct platform_device *pdev)
1644 if (platform->has_ce) 1650 if (platform->has_ce)
1645 gk20a_ce_destroy(g); 1651 gk20a_ce_destroy(g);
1646 1652
1653 nvgpu_clk_arb_cleanup_arbiter(g);
1654
1647 gk20a_user_deinit(dev, &nvgpu_class); 1655 gk20a_user_deinit(dev, &nvgpu_class);
1648 1656
1649 debugfs_remove_recursive(platform->debugfs); 1657 debugfs_remove_recursive(platform->debugfs);