summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index c72b8735..3388a2ff 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -1539,6 +1539,13 @@ static int gk20a_probe(struct platform_device *dev)
1539 gk20a->aelpg_enabled = 1539 gk20a->aelpg_enabled =
1540 tegra_platform_is_silicon() ? platform->enable_aelpg : false; 1540 tegra_platform_is_silicon() ? platform->enable_aelpg : false;
1541 1541
1542 /* set default values to aelpg parameters */
1543 gk20a->pmu.aelpg_param[0] = APCTRL_SAMPLING_PERIOD_PG_DEFAULT_US;
1544 gk20a->pmu.aelpg_param[1] = APCTRL_MINIMUM_IDLE_FILTER_DEFAULT_US;
1545 gk20a->pmu.aelpg_param[2] = APCTRL_MINIMUM_TARGET_SAVING_DEFAULT_US;
1546 gk20a->pmu.aelpg_param[3] = APCTRL_POWER_BREAKEVEN_DEFAULT_US;
1547 gk20a->pmu.aelpg_param[4] = APCTRL_CYCLES_PER_SAMPLE_MAX_DEFAULT;
1548
1542 gk20a_create_sysfs(dev); 1549 gk20a_create_sysfs(dev);
1543 1550
1544#ifdef CONFIG_DEBUG_FS 1551#ifdef CONFIG_DEBUG_FS