diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2018-01-11 17:57:10 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-02-13 19:06:44 -0500 |
commit | cc53490af534e7acf1764081756bf12c1e3a45ee (patch) | |
tree | e22adfc3e22f5b83c29d913ed1c741589c34384d | |
parent | b06afbfe23a667a23cfc425b1b88a755c4e82294 (diff) |
gpu: nvgpu: gv11b: enable elpg
Enabled Engine Level Power Gating for gv11b.
Bug 2051863
Change-Id: I59a51dbe8fa9f13e4b8be03f02e1571093fdaeb0
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1646322
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/platform_gv11b_tegra.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gv11b_tegra.c b/drivers/gpu/nvgpu/common/linux/platform_gv11b_tegra.c index 7d7fc603..40c75164 100644 --- a/drivers/gpu/nvgpu/common/linux/platform_gv11b_tegra.c +++ b/drivers/gpu/nvgpu/common/linux/platform_gv11b_tegra.c | |||
@@ -213,8 +213,6 @@ struct gk20a_platform gv11b_tegra_platform = { | |||
213 | /* no cde. use sysmem compression */ | 213 | /* no cde. use sysmem compression */ |
214 | .has_cde = false, | 214 | .has_cde = false, |
215 | 215 | ||
216 | /* power management configuration */ | ||
217 | |||
218 | /* ptimer src frequency in hz*/ | 216 | /* ptimer src frequency in hz*/ |
219 | .ptimer_src_freq = 31250000, | 217 | .ptimer_src_freq = 31250000, |
220 | 218 | ||
@@ -232,6 +230,10 @@ struct gk20a_platform gv11b_tegra_platform = { | |||
232 | .enable_elcg = true, | 230 | .enable_elcg = true, |
233 | .enable_perfmon = true, | 231 | .enable_perfmon = true, |
234 | 232 | ||
233 | /* power management configuration */ | ||
234 | .enable_elpg = true, | ||
235 | .can_elpg_init = true, | ||
236 | |||
235 | /* power management callbacks */ | 237 | /* power management callbacks */ |
236 | .suspend = gv11b_tegra_suspend, | 238 | .suspend = gv11b_tegra_suspend, |
237 | .railgate = gv11b_tegra_railgate, | 239 | .railgate = gv11b_tegra_railgate, |