summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
index 185d661e..b75420e6 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
@@ -37,7 +37,7 @@
37#define TEGRA_DDR4_BW_PER_FREQ 16 37#define TEGRA_DDR4_BW_PER_FREQ 16
38 38
39extern struct device tegra_vpr_dev; 39extern struct device tegra_vpr_dev;
40struct gk20a_platform t132_gk20a_tegra_platform; 40static struct gk20a_platform t132_gk20a_tegra_platform;
41 41
42struct gk20a_emc_params { 42struct gk20a_emc_params {
43 long bw_ratio; 43 long bw_ratio;
@@ -142,7 +142,7 @@ fail:
142 * This function returns the minimum emc clock based on gpu frequency 142 * This function returns the minimum emc clock based on gpu frequency
143 */ 143 */
144 144
145long gk20a_tegra_get_emc_rate(struct gk20a *g, 145static long gk20a_tegra_get_emc_rate(struct gk20a *g,
146 struct gk20a_emc_params *emc_params, long freq) 146 struct gk20a_emc_params *emc_params, long freq)
147{ 147{
148 long hz; 148 long hz;
@@ -197,7 +197,7 @@ static void gk20a_tegra_prescale(struct platform_device *pdev)
197 * 197 *
198 */ 198 */
199 199
200void gk20a_tegra_calibrate_emc(struct platform_device *pdev, 200static void gk20a_tegra_calibrate_emc(struct platform_device *pdev,
201 struct gk20a_emc_params *emc_params) 201 struct gk20a_emc_params *emc_params)
202{ 202{
203 enum tegra_chipid cid = tegra_get_chipid(); 203 enum tegra_chipid cid = tegra_get_chipid();
@@ -271,7 +271,7 @@ static int gk20a_tegra_unrailgate(struct platform_device *pdev)
271 return ret; 271 return ret;
272} 272}
273 273
274struct { 274static struct {
275 char *name; 275 char *name;
276 unsigned long default_rate; 276 unsigned long default_rate;
277} tegra_gk20a_clocks[] = { 277} tegra_gk20a_clocks[] = {
@@ -472,7 +472,7 @@ static int gk20a_tegra_suspend(struct device *dev)
472 return 0; 472 return 0;
473} 473}
474 474
475struct gk20a_platform t132_gk20a_tegra_platform = { 475static struct gk20a_platform t132_gk20a_tegra_platform = {
476 .has_syncpoints = true, 476 .has_syncpoints = true,
477 477
478 /* power management configuration */ 478 /* power management configuration */