summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/driver_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/driver_common.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/driver_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c
index 7d6acf91..c2f31afc 100644
--- a/drivers/gpu/nvgpu/common/linux/driver_common.c
+++ b/drivers/gpu/nvgpu/common/linux/driver_common.c
@@ -113,6 +113,8 @@ static void nvgpu_init_pm_vars(struct gk20a *g)
113 g->has_syncpoints = platform->has_syncpoints; 113 g->has_syncpoints = platform->has_syncpoints;
114 g->ptimer_src_freq = platform->ptimer_src_freq; 114 g->ptimer_src_freq = platform->ptimer_src_freq;
115 g->support_pmu = support_gk20a_pmu(g->dev); 115 g->support_pmu = support_gk20a_pmu(g->dev);
116 g->can_railgate = platform->can_railgate_init;
117 g->railgate_delay = platform->railgate_delay_init;
116 118
117 /* set default values to aelpg parameters */ 119 /* set default values to aelpg parameters */
118 g->pmu.aelpg_param[0] = APCTRL_SAMPLING_PERIOD_PG_DEFAULT_US; 120 g->pmu.aelpg_param[0] = APCTRL_SAMPLING_PERIOD_PG_DEFAULT_US;