From 866dafa484414f8ee540696d5df7617fdb4b1fc9 Mon Sep 17 00:00:00 2001 From: David Nieto Date: Wed, 12 Oct 2016 15:00:16 -0700 Subject: 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 Reviewed-on: http://git-master/r/1239465 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom Reviewed-on: http://git-master/r/1268000 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/gk20a/clk_gk20a.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/clk_gk20a.h') 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 @@ /* - * Copyright (c) 2011 - 2014, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2011 - 2016, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -89,6 +89,7 @@ struct clk_gk20a { struct mutex clk_mutex; struct namemap_cfg *clk_namemap; u32 namemap_num; + u32 *namemap_xlat_table; bool sw_ready; bool clk_hw_on; bool debugfs_set; -- cgit v1.2.2