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>
This commit is contained in:
Terje Bergstrom
2017-05-12 10:32:11 -07:00
committed by mobile promotions
parent 39a9e251da
commit 2c822a6388
10 changed files with 18 additions and 24 deletions

View File

@@ -66,7 +66,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
/* power management configuration */
.railgate_delay_init = 500,
.can_railgate_init = false,
.can_elpg = true,
.can_elpg_init = true,
.enable_elpg = true,
.enable_elcg = false,
.enable_slcg = true,
@@ -100,7 +100,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
/* power management configuration */
.railgate_delay_init = 500,
.can_railgate_init = false,
.can_elpg = true,
.can_elpg_init = true,
.enable_elpg = true,
.enable_elcg = false,
.enable_slcg = true,
@@ -134,7 +134,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
/* power management configuration */
.railgate_delay_init = 500,
.can_railgate_init = false,
.can_elpg = true,
.can_elpg_init = true,
.enable_elpg = true,
.enable_elcg = false,
.enable_slcg = true,
@@ -168,7 +168,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
/* power management configuration */
.railgate_delay_init = 500,
.can_railgate_init = false,
.can_elpg = true,
.can_elpg_init = true,
.enable_elpg = true,
.enable_elcg = false,
.enable_slcg = true,