summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorDavid Nieto <dmartineznie@nvidia.com>2016-10-12 18:00:16 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-12-09 23:24:10 -0500
commit866dafa484414f8ee540696d5df7617fdb4b1fc9 (patch)
treef06d2d757ff6d5f5a4e4c3bbd70921af806c78ab /drivers/gpu/nvgpu/gk20a/gk20a.h
parent5319bb45599550407df868a4325380770d028951 (diff)
gpu: nvgpu: read effective frequency from counter
JIRA DNVGPU-164 Adding export functions to gk20a and gk20a_clk structure Change-Id: Ia448f17a6c456139544c1d36a3e17ceec0edd2f6 Signed-off-by: David Nieto <dmartineznie@nvidia.com> Reviewed-on: http://git-master/r/1239465 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1268000 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 071111ab..49c2a348 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -633,6 +633,7 @@ struct gpu_ops {
633 int (*init_clk_support)(struct gk20a *g); 633 int (*init_clk_support)(struct gk20a *g);
634 int (*suspend_clk_support)(struct gk20a *g); 634 int (*suspend_clk_support)(struct gk20a *g);
635 u32 (*get_crystal_clk_hz)(struct gk20a *g); 635 u32 (*get_crystal_clk_hz)(struct gk20a *g);
636 u16 (*get_rate)(struct gk20a *g, u32 api_domain);
636 } clk; 637 } clk;
637 struct { 638 struct {
638 u32 (*get_arbiter_clk_domains)(struct gk20a *g); 639 u32 (*get_arbiter_clk_domains)(struct gk20a *g);