diff options
author | Deepak Goyal <dgoyal@nvidia.com> | 2017-05-05 01:30:23 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-12 04:44:56 -0400 |
commit | cf143b6b7cbda7f43f6368d89672d241bc40e847 (patch) | |
tree | 65a07fc3cf011392175e731af5315834039fa879 /drivers/gpu/nvgpu/gp106/pmu_gp106.h | |
parent | 14571dc67f8e27818a84a1cbfb6b0fccac677606 (diff) |
gpu: nvgpu: pmu: export elpg stats function.
gp106_pmu_elpg_statistics() can be re-used by other chips.
The function is changed to non-static & exposed outside
gp106 scope.
Bug 200305607
Change-Id: I4ba660509ce816bebc59855227a8d409ed8f84f8
Signed-off-by: Deepak Goyal <dgoyal@nvidia.com>
Reviewed-on: http://git-master/r/1476005
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/pmu_gp106.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/pmu_gp106.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/pmu_gp106.h b/drivers/gpu/nvgpu/gp106/pmu_gp106.h index 36c574bf..3213b25c 100644 --- a/drivers/gpu/nvgpu/gp106/pmu_gp106.h +++ b/drivers/gpu/nvgpu/gp106/pmu_gp106.h | |||
@@ -19,5 +19,7 @@ | |||
19 | 19 | ||
20 | void gp106_init_pmu_ops(struct gpu_ops *gops); | 20 | void gp106_init_pmu_ops(struct gpu_ops *gops); |
21 | int gp106_pmu_reset(struct gk20a *g); | 21 | int gp106_pmu_reset(struct gk20a *g); |
22 | void gp106_pmu_elpg_statistics(struct gk20a *g, u32 pg_engine_id, | ||
23 | struct pmu_pg_stats_data *pg_stat_data); | ||
22 | 24 | ||
23 | #endif /*__PMU_GP106_H_*/ | 25 | #endif /*__PMU_GP106_H_*/ |