summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/pmu_gp106.c
diff options
context:
space:
mode:
authorThomas Fleury <tfleury@nvidia.com>2017-06-21 14:13:22 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-30 11:46:34 -0400
commitc12eb17340c90086f378c239da3d9015e7878f0c (patch)
treede0d8d3886bbc11e4b8524bda0d35de3e4e8638d /drivers/gpu/nvgpu/gp106/pmu_gp106.c
parenta89c3876c71f486cf5d5bca588f12af02d1b15be (diff)
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>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/pmu_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/pmu_gp106.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gp106/pmu_gp106.c b/drivers/gpu/nvgpu/gp106/pmu_gp106.c
index 632023ba..eec89695 100644
--- a/drivers/gpu/nvgpu/gp106/pmu_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/pmu_gp106.c
@@ -20,7 +20,6 @@
20#include "gm20b/pmu_gm20b.h" 20#include "gm20b/pmu_gm20b.h"
21#include "gp10b/pmu_gp10b.h" 21#include "gp10b/pmu_gp10b.h"
22#include "gp106/pmu_gp106.h" 22#include "gp106/pmu_gp106.h"
23#include "gp106/pmu_mclk_gp106.h"
24#include "gp106/acr_gp106.h" 23#include "gp106/acr_gp106.h"
25 24
26#include "clk/clk_mclk.h" 25#include "clk/clk_mclk.h"
@@ -331,9 +330,6 @@ void gp106_init_pmu_ops(struct gpu_ops *gops)
331 gops->pmu.pmu_lpwr_disable_pg = nvgpu_lpwr_disable_pg; 330 gops->pmu.pmu_lpwr_disable_pg = nvgpu_lpwr_disable_pg;
332 gops->pmu.pmu_pg_param_post_init = nvgpu_lpwr_post_init; 331 gops->pmu.pmu_pg_param_post_init = nvgpu_lpwr_post_init;
333 gops->pmu.dump_secure_fuses = NULL; 332 gops->pmu.dump_secure_fuses = NULL;
334 gops->pmu.mclk_init = gp106_mclk_init;
335 gops->pmu.mclk_change = gp106_mclk_change;
336 gops->pmu.mclk_deinit = gp106_mclk_deinit;
337 gops->pmu.is_pmu_supported = gp106_is_pmu_supported; 333 gops->pmu.is_pmu_supported = gp106_is_pmu_supported;
338 gops->pmu.reset_engine = gp106_pmu_engine_reset; 334 gops->pmu.reset_engine = gp106_pmu_engine_reset;
339 gops->pmu.is_engine_in_reset = gp106_pmu_is_engine_in_reset; 335 gops->pmu.is_engine_in_reset = gp106_pmu_is_engine_in_reset;