mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: use gm20b.gbus instead of gpcclk
DVFS constraints for GPU are applied on gbus not on gpcclk. Make T210 K4.4 use gm20b.gbus to change the GPU clk rates and use its parent clock gbus while querrying DVFS constraints for the GPU. Bug 200233943 Change-Id: I2bad3266d6b8f8f3806a0d4249d9b40308c2ee6a Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com> Reviewed-on: http://git-master/r/1275926 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
0aba2e99d0
commit
2f74512a09
@@ -378,9 +378,7 @@ static void clk_config_dvfs(struct gk20a *g, struct pll *gpll)
|
||||
struct clk* clk;
|
||||
|
||||
clk = g->clk.tegra_clk;
|
||||
#ifdef CONFIG_TEGRA_CLK_FRAMEWORK
|
||||
clk = clk_get_parent(clk);
|
||||
#endif
|
||||
|
||||
d->mv = tegra_dvfs_predict_mv_at_hz_cur_tfloor(clk,
|
||||
rate_gpc2clk_to_gpu(gpll->freq));
|
||||
@@ -1324,7 +1322,6 @@ int gm20b_register_gpcclk(struct gk20a *g) {
|
||||
}
|
||||
|
||||
clk->g = g;
|
||||
clk->tegra_clk = c;
|
||||
clk_register_clkdev(c, "gpcclk", "gpcclk");
|
||||
|
||||
return err;
|
||||
|
||||
Reference in New Issue
Block a user