summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
diff options
context:
space:
mode:
authorShreshtha SAHU <ssahu@nvidia.com>2016-11-10 04:02:10 -0500
committerShreshtha Sahu <ssahu@nvidia.com>2016-11-14 22:19:52 -0500
commitdaaa9f030cb00ca692f644bc485958fb21c43a62 (patch)
treef2afc84fd507634a4c3802c695f30637e550bfb6 /drivers/gpu/nvgpu/gk20a/platform_gk20a.h
parent1ba169d7dbea1f0e9254cbd285e92ff51235b7c0 (diff)
gpu: nvgpu: gm20b: add fuse clock for GPU
Bug: 200233943 Change-Id: I8eb2f3cf45b23d7d4e30bf4d5dfc2d6f09c8481e Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/1250979 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Joseph Lo <josephl@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/platform_gk20a.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
index c0b847e5..94b8d157 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h
@@ -19,6 +19,8 @@
19#include <linux/device.h> 19#include <linux/device.h>
20#include <linux/dma-attrs.h> 20#include <linux/dma-attrs.h>
21 21
22#define GK20A_CLKS_MAX 4
23
22struct gk20a; 24struct gk20a;
23struct channel_gk20a; 25struct channel_gk20a;
24struct gr_ctx_buffer_desc; 26struct gr_ctx_buffer_desc;
@@ -65,7 +67,7 @@ struct gk20a_platform {
65 67
66 /* Clock configuration is stored here. Platform probe is responsible 68 /* Clock configuration is stored here. Platform probe is responsible
67 * for filling this data. */ 69 * for filling this data. */
68 struct clk *clk[3]; 70 struct clk *clk[GK20A_CLKS_MAX];
69 int num_clks; 71 int num_clks;
70 72
71#ifdef CONFIG_RESET_CONTROLLER 73#ifdef CONFIG_RESET_CONTROLLER