summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/clk_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/clk_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/clk_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/clk_gk20a.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/clk_gk20a.h b/drivers/gpu/nvgpu/gk20a/clk_gk20a.h
index 8400b8ba..a45dfcb7 100644
--- a/drivers/gpu/nvgpu/gk20a/clk_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/clk_gk20a.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2011 - 2014, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2011 - 2016, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -89,6 +89,7 @@ struct clk_gk20a {
89 struct mutex clk_mutex; 89 struct mutex clk_mutex;
90 struct namemap_cfg *clk_namemap; 90 struct namemap_cfg *clk_namemap;
91 u32 namemap_num; 91 u32 namemap_num;
92 u32 *namemap_xlat_table;
92 bool sw_ready; 93 bool sw_ready;
93 bool clk_hw_on; 94 bool clk_hw_on;
94 bool debugfs_set; 95 bool debugfs_set;