diff options
author | Vaikundanathan S <vaikuns@nvidia.com> | 2018-08-28 02:28:25 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-20 13:50:53 -0400 |
commit | ae809fddbe90bcec0d48e1213fa36cc5ba76550d (patch) | |
tree | bbafc71a543abf4b02e76290d058719f27f5f3b8 /drivers/gpu/nvgpu/clk/clk.h | |
parent | 85c323c3e89d6e1b624b839c3325ae072952e545 (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/clk/clk.h')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk.h b/drivers/gpu/nvgpu/clk/clk.h index 5a6aeae3..3f4bdf73 100644 --- a/drivers/gpu/nvgpu/clk/clk.h +++ b/drivers/gpu/nvgpu/clk/clk.h | |||
@@ -138,6 +138,7 @@ u32 nvgpu_clk_vf_change_inject_data_fill_gp10x(struct gk20a *g, | |||
138 | struct nv_pmu_clk_rpc *rpccall, | 138 | struct nv_pmu_clk_rpc *rpccall, |
139 | struct set_fll_clk *setfllclk); | 139 | struct set_fll_clk *setfllclk); |
140 | u32 nvgpu_clk_set_boot_fll_clk_gv10x(struct gk20a *g); | 140 | u32 nvgpu_clk_set_boot_fll_clk_gv10x(struct gk20a *g); |
141 | int nvgpu_clk_set_fll_clk_gv10x(struct gk20a *g); | ||
141 | int clk_pmu_freq_effective_avg_load(struct gk20a *g, bool bload); | 142 | int clk_pmu_freq_effective_avg_load(struct gk20a *g, bool bload); |
142 | u32 clk_freq_effective_avg(struct gk20a *g, u32 clkDomainMask); | 143 | u32 clk_freq_effective_avg(struct gk20a *g, u32 clkDomainMask); |
143 | #endif /* NVGPU_CLK_H */ | 144 | #endif /* NVGPU_CLK_H */ |