mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: move mclk related functions to clk
Move mclk related functions be moved to clk structure instead of pmu. We want to keep pmu only for basic pmu interaction and split clk, lpwr etc. Bug 1921094 Change-Id: I32394bc0e6d3657dfbd34dbcf19c9af56c12e194 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master/r/1506586 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
a89c3876c7
commit
c12eb17340
@@ -1989,7 +1989,7 @@ static int nvgpu_clk_arb_change_vf_point(struct gk20a *g, u16 gpc2clk_target,
|
||||
|
||||
/* descending */
|
||||
if (voltuv < arb->voltuv_actual) {
|
||||
status = g->ops.pmu.mclk_change(g, mclk_target);
|
||||
status = g->ops.clk.mclk_change(g, mclk_target);
|
||||
if (status < 0)
|
||||
return status;
|
||||
|
||||
@@ -2009,7 +2009,7 @@ static int nvgpu_clk_arb_change_vf_point(struct gk20a *g, u16 gpc2clk_target,
|
||||
if (status < 0)
|
||||
return status;
|
||||
|
||||
status = g->ops.pmu.mclk_change(g, mclk_target);
|
||||
status = g->ops.clk.mclk_change(g, mclk_target);
|
||||
if (status < 0)
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user