summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/clk/clk.h
diff options
context:
space:
mode:
authorVijayakumar <vsubbu@nvidia.com>2016-09-12 13:06:33 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:50 -0500
commit3c351f5bb2d04c1f70c72f3f2fd758bbb340877c (patch)
treecdaaf5547d6a2663111ba3dadb60d723f5833683 /drivers/gpu/nvgpu/clk/clk.h
parent1b1090512020369df18dbe36336ac5a85d2cd693 (diff)
gpu: nvgpu: add function to retrieve clk points
JIRA DNVGPU-123 Function will copy possible clock points for a given master clock domain to pointer passed. pointer with NULL value and count of zero can be passed to query number of clock points for a given domain so that memory can be allocated and function called again to fill clock points Change-Id: Iec6206f23789980036be99793599e934bd221035 Reviewed-on: http://git-master/r/1218912 (cherry picked from commit 9219697bff1e12deb605325055a02a7b387996e9) Signed-off-by: Vijayakumar <vsubbu@nvidia.com> Reviewed-on: http://git-master/r/1235055 Reviewed-by: Thomas Fleury <tfleury@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk.h')
-rw-r--r--drivers/gpu/nvgpu/clk/clk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk.h b/drivers/gpu/nvgpu/clk/clk.h
index 0d12ba7d..1f25fa4e 100644
--- a/drivers/gpu/nvgpu/clk/clk.h
+++ b/drivers/gpu/nvgpu/clk/clk.h
@@ -92,5 +92,11 @@ u32 clk_domain_get_f_or_v
92 u16 *pclkmhz, 92 u16 *pclkmhz,
93 u32 *pvoltuv 93 u32 *pvoltuv
94); 94);
95u32 clk_domain_get_f_points(
96 struct gk20a *g,
97 u32 clkapidomain,
98 u32 *fpointscount,
99 u16 *freqpointsinmhz
100);
95 101
96#endif 102#endif