summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/pci.c
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/common/linux/pci.c
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/common/linux/pci.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c
index a603135f..37673f5e 100644
--- a/drivers/gpu/nvgpu/common/linux/pci.c
+++ b/drivers/gpu/nvgpu/common/linux/pci.c
@@ -66,7 +66,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
66 /* power management configuration */ 66 /* power management configuration */
67 .railgate_delay_init = 500, 67 .railgate_delay_init = 500,
68 .can_railgate_init = false, 68 .can_railgate_init = false,
69 .can_elpg = true, 69 .can_elpg_init = true,
70 .enable_elpg = true, 70 .enable_elpg = true,
71 .enable_elcg = false, 71 .enable_elcg = false,
72 .enable_slcg = true, 72 .enable_slcg = true,
@@ -100,7 +100,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
100 /* power management configuration */ 100 /* power management configuration */
101 .railgate_delay_init = 500, 101 .railgate_delay_init = 500,
102 .can_railgate_init = false, 102 .can_railgate_init = false,
103 .can_elpg = true, 103 .can_elpg_init = true,
104 .enable_elpg = true, 104 .enable_elpg = true,
105 .enable_elcg = false, 105 .enable_elcg = false,
106 .enable_slcg = true, 106 .enable_slcg = true,
@@ -134,7 +134,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
134 /* power management configuration */ 134 /* power management configuration */
135 .railgate_delay_init = 500, 135 .railgate_delay_init = 500,
136 .can_railgate_init = false, 136 .can_railgate_init = false,
137 .can_elpg = true, 137 .can_elpg_init = true,
138 .enable_elpg = true, 138 .enable_elpg = true,
139 .enable_elcg = false, 139 .enable_elcg = false,
140 .enable_slcg = true, 140 .enable_slcg = true,
@@ -168,7 +168,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
168 /* power management configuration */ 168 /* power management configuration */
169 .railgate_delay_init = 500, 169 .railgate_delay_init = 500,
170 .can_railgate_init = false, 170 .can_railgate_init = false,
171 .can_elpg = true, 171 .can_elpg_init = true,
172 .enable_elpg = true, 172 .enable_elpg = true,
173 .enable_elcg = false, 173 .enable_elcg = false,
174 .enable_slcg = true, 174 .enable_slcg = true,