summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/clk/clk_arb.c
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2017-05-12 14:14:31 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-21 00:43:42 -0400
commit83f8bb225b074bfdf11a2da6c21acf204eecb293 (patch)
treec560bfd66c19199f00d85a5c63b4252784dd444d /drivers/gpu/nvgpu/clk/clk_arb.c
parentd0ea8fe969b2a8f7509621103c1ead83187b798b (diff)
gpu: nvgpu: mclk switching sequences for PG419
VBIOS memory settings have been updated for PG419, significantly modifying MCLK switching sequences. This change adds support for PG419 tables, while remaining backward compatible with PG418. Bug 1921082 JIRA EVLR-1269 Change-Id: Ia8a1f8b3f482e348a46f0acb540af23287d9c11e Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: http://git-master/r/1484110 (cherry picked from commit c2444ae89caf97da2702e8486cc8fb162b4f50b1) Reviewed-on: http://git-master/r/1485300 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_arb.c')
-rw-r--r--drivers/gpu/nvgpu/clk/clk_arb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_arb.c b/drivers/gpu/nvgpu/clk/clk_arb.c
index 4400f3bb..58d529c6 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,
1989 1989
1990 /* descending */ 1990 /* descending */
1991 if (voltuv < arb->voltuv_actual) { 1991 if (voltuv < arb->voltuv_actual) {
1992 status = g->clk_pmu.clk_mclk.change(g, mclk_target); 1992 status = g->ops.pmu.mclk_change(g, mclk_target);
1993 if (status < 0) 1993 if (status < 0)
1994 return status; 1994 return status;
1995 1995
@@ -2009,7 +2009,7 @@ static int nvgpu_clk_arb_change_vf_point(struct gk20a *g, u16 gpc2clk_target,
2009 if (status < 0) 2009 if (status < 0)
2010 return status; 2010 return status;
2011 2011
2012 status = g->clk_pmu.clk_mclk.change(g, mclk_target); 2012 status = g->ops.pmu.mclk_change(g, mclk_target);
2013 if (status < 0) 2013 if (status < 0)
2014 return status; 2014 return status;
2015 } 2015 }