summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/tegra/linux
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-05-12 13:32:11 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-17 13:24:25 -0400
commit2c822a63885ec79ac2d860e13438c6154e23e5d0 (patch)
treeeab486eb38d2d74b211ad94e4c1d28368922a23c /drivers/gpu/nvgpu/tegra/linux
parent39a9e251da0fb4da8512593d3ce4f6eba47d5e0c (diff)
gpu: nvgpu: Remove uses of platform->can_elpg
Remove newly introduced uses of gk20a_platform->can_elpg. Rename the field to can_elpg_init and replace all uses with gk20a->can_elpg. Change-Id: Id6e84d4c16159b5da80c583a8a94a9c5cc2423ec Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1480955 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/tegra/linux')
-rw-r--r--drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c4
-rw-r--r--drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c
index 4ff4804f..1ca85117 100644
--- a/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c
+++ b/drivers/gpu/nvgpu/tegra/linux/platform_gk20a_tegra.c
@@ -1053,7 +1053,7 @@ struct gk20a_platform gk20a_tegra_platform = {
1053 /* power management configuration */ 1053 /* power management configuration */
1054 .railgate_delay_init = 500, 1054 .railgate_delay_init = 500,
1055 .can_railgate_init = true, 1055 .can_railgate_init = true,
1056 .can_elpg = true, 1056 .can_elpg_init = true,
1057 .enable_slcg = true, 1057 .enable_slcg = true,
1058 .enable_blcg = true, 1058 .enable_blcg = true,
1059 .enable_elcg = true, 1059 .enable_elcg = true,
@@ -1110,7 +1110,7 @@ struct gk20a_platform gm20b_tegra_platform = {
1110 /* power management configuration */ 1110 /* power management configuration */
1111 .railgate_delay_init = 500, 1111 .railgate_delay_init = 500,
1112 .can_railgate_init = true, 1112 .can_railgate_init = true,
1113 .can_elpg = true, 1113 .can_elpg_init = true,
1114 .enable_slcg = true, 1114 .enable_slcg = true,
1115 .enable_blcg = true, 1115 .enable_blcg = true,
1116 .enable_elcg = true, 1116 .enable_elcg = true,
diff --git a/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c
index 2587d5fa..32cc80d9 100644
--- a/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c
+++ b/drivers/gpu/nvgpu/tegra/linux/platform_gp10b_tegra.c
@@ -387,7 +387,7 @@ struct gk20a_platform gp10b_tegra_platform = {
387 /* power management configuration */ 387 /* power management configuration */
388 .can_railgate_init = true, 388 .can_railgate_init = true,
389 .enable_elpg = true, 389 .enable_elpg = true,
390 .can_elpg = true, 390 .can_elpg_init = true,
391 .enable_blcg = true, 391 .enable_blcg = true,
392 .enable_slcg = true, 392 .enable_slcg = true,
393 .enable_elcg = true, 393 .enable_elcg = true,