summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
index 7d8312fc..25673873 100644
--- a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
+++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
@@ -93,6 +93,9 @@ static void gp10b_tegra_scale_init(struct device *dev)
93 struct gk20a_scale_profile *profile = platform->g->scale_profile; 93 struct gk20a_scale_profile *profile = platform->g->scale_profile;
94 struct tegra_bwmgr_client *bwmgr_handle; 94 struct tegra_bwmgr_client *bwmgr_handle;
95 95
96 if (!profile)
97 return;
98
96 bwmgr_handle = tegra_bwmgr_register(TEGRA_BWMGR_CLIENT_GPU); 99 bwmgr_handle = tegra_bwmgr_register(TEGRA_BWMGR_CLIENT_GPU);
97 if (!bwmgr_handle) 100 if (!bwmgr_handle)
98 return; 101 return;