summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorVaikundanathan S <vaikuns@nvidia.com>2018-08-28 02:28:25 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-20 13:50:53 -0400
commitae809fddbe90bcec0d48e1213fa36cc5ba76550d (patch)
treebbafc71a543abf4b02e76290d058719f27f5f3b8 /drivers/gpu/nvgpu/include
parent85c323c3e89d6e1b624b839c3325ae072952e545 (diff)
gpu:nvgpu: Add GV10x perf event
In case of VFE update, schedule work to set P0 clocks. Added function nvgpu_clk_set_fll_clk_gv10x to update P0 clocks on perf event. Fixed MISRA issues caused by this excluding external functions and MACROs Bug 2331655 Change-Id: Id96c473092ee7f0b651413aefdd4b6f2f59e0b12 Signed-off-by: Vaikundanathan S <vaikuns@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1808014 Reviewed-on: https://git-master.nvidia.com/r/1813881 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/gk20a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
index 5f875707..e2a0cbf7 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
@@ -878,7 +878,6 @@ struct gpu_ops {
878 u32 (*clk_vf_change_inject_data_fill)(struct gk20a *g, 878 u32 (*clk_vf_change_inject_data_fill)(struct gk20a *g,
879 struct nv_pmu_clk_rpc *rpccall, 879 struct nv_pmu_clk_rpc *rpccall,
880 struct set_fll_clk *setfllclk); 880 struct set_fll_clk *setfllclk);
881 u32 (*perf_pmu_vfe_load)(struct gk20a *g);
882 u32 (*clk_set_boot_clk)(struct gk20a *g); 881 u32 (*clk_set_boot_clk)(struct gk20a *g);
883 }clk; 882 }clk;
884 } pmu_ver; 883 } pmu_ver;
@@ -1113,6 +1112,7 @@ struct gpu_ops {
1113 bool support_clk_freq_controller; 1112 bool support_clk_freq_controller;
1114 bool support_pmgr_domain; 1113 bool support_pmgr_domain;
1115 bool support_lpwr_pg; 1114 bool support_lpwr_pg;
1115 u32 (*perf_pmu_vfe_load)(struct gk20a *g);
1116 } clk; 1116 } clk;
1117 struct { 1117 struct {
1118 int (*arbiter_clk_init)(struct gk20a *g); 1118 int (*arbiter_clk_init)(struct gk20a *g);