From c12eb17340c90086f378c239da3d9015e7878f0c Mon Sep 17 00:00:00 2001 From: Thomas Fleury Date: Wed, 21 Jun 2017 11:13:22 -0700 Subject: 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 Reviewed-on: https://git-master/r/1506586 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/clk/clk_arb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/clk') diff --git a/drivers/gpu/nvgpu/clk/clk_arb.c b/drivers/gpu/nvgpu/clk/clk_arb.c index 58d529c6..df62df5e 100644 --- a/drivers/gpu/nvgpu/clk/clk_arb.c +++ b/drivers/gpu/nvgpu/clk/clk_arb.c @@ -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; } -- cgit v1.2.2