diff options
author | Prateek sethi <prsethi@nvidia.com> | 2018-09-24 01:55:32 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-25 05:39:06 -0400 |
commit | d6aa52b15f2c42aa557522d148b137584dcfb454 (patch) | |
tree | 2eca1d6da11257f276a2afc367d9d683c2bc1e39 /drivers/gpu/nvgpu/gp10b | |
parent | 421e64aad73c419495253c62b131677cf25c4924 (diff) |
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>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, | |||
105 | &min_mhz, &max_mhz); | 105 | &min_mhz, &max_mhz); |
106 | 106 | ||
107 | if (ret == 0) { | 107 | if (ret == 0) { |
108 | *default_mhz = min_mhz; | 108 | *default_mhz = max_mhz; |
109 | } | 109 | } |
110 | break; | 110 | break; |
111 | 111 | ||
@@ -417,4 +417,4 @@ void gp10b_clk_arb_cleanup(struct nvgpu_clk_arb *arb) | |||
417 | nvgpu_kfree(g, g->clk_arb); | 417 | nvgpu_kfree(g, g->clk_arb); |
418 | 418 | ||
419 | g->clk_arb = NULL; | 419 | g->clk_arb = NULL; |
420 | } \ No newline at end of file | 420 | } |