From d6aa52b15f2c42aa557522d148b137584dcfb454 Mon Sep 17 00:00:00 2001 From: Prateek sethi Date: Mon, 24 Sep 2018 11:25:32 +0530 Subject: gpu: nvgpu: Setting default gpc clock to max. currently clk-arb is setting GPC clock frequency to minimum frequency and once clk-arb support is enabled for QNX, QNX will also runs to minimum frequency which is not expected. changing default GPC clock frequency to max. Bug 200422845 Change-Id: Ic13c1b6ee2c71442e4248f0a11b8056100cd2a7d Signed-off-by: Prateek sethi Reviewed-on: https://git-master.nvidia.com/r/1842388 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gp10b') diff --git a/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c b/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c index 7a465fee..d8e4e705 100644 --- a/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c @@ -105,7 +105,7 @@ int gp10b_get_arbiter_clk_default(struct gk20a *g, u32 api_domain, &min_mhz, &max_mhz); if (ret == 0) { - *default_mhz = min_mhz; + *default_mhz = max_mhz; } break; @@ -417,4 +417,4 @@ void gp10b_clk_arb_cleanup(struct nvgpu_clk_arb *arb) nvgpu_kfree(g, g->clk_arb); g->clk_arb = NULL; -} \ No newline at end of file +} -- cgit v1.2.2