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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c
index b12917d6..4e2cb2b4 100644
--- a/drivers/gpu/nvgpu/common/linux/driver_common.c
+++ b/drivers/gpu/nvgpu/common/linux/driver_common.c
@@ -124,6 +124,7 @@ static void nvgpu_init_pm_vars(struct gk20a *g)
124 g->support_pmu = support_gk20a_pmu(dev_from_gk20a(g)); 124 g->support_pmu = support_gk20a_pmu(dev_from_gk20a(g));
125 g->can_railgate = platform->can_railgate_init; 125 g->can_railgate = platform->can_railgate_init;
126 g->railgate_delay = platform->railgate_delay_init; 126 g->railgate_delay = platform->railgate_delay_init;
127 __nvgpu_set_enabled(g, NVGPU_PMU_PERFMON, platform->enable_perfmon);
127 128
128 /* set default values to aelpg parameters */ 129 /* set default values to aelpg parameters */
129 g->pmu.aelpg_param[0] = APCTRL_SAMPLING_PERIOD_PG_DEFAULT_US; 130 g->pmu.aelpg_param[0] = APCTRL_SAMPLING_PERIOD_PG_DEFAULT_US;