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 <prsethi@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1842388
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Prateek sethi
2018-09-24 11:25:32 +05:30
committed by mobile promotions
parent 421e64aad7
commit d6aa52b15f

View File

@@ -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;
}
}