diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/driver_common.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/pci.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c index c2f31afc..8855ce1f 100644 --- a/drivers/gpu/nvgpu/common/linux/driver_common.c +++ b/drivers/gpu/nvgpu/common/linux/driver_common.c | |||
@@ -106,7 +106,7 @@ static void nvgpu_init_pm_vars(struct gk20a *g) | |||
106 | g->mscg_enabled = | 106 | g->mscg_enabled = |
107 | nvgpu_platform_is_silicon(g) ? platform->enable_mscg : false; | 107 | nvgpu_platform_is_silicon(g) ? platform->enable_mscg : false; |
108 | g->can_elpg = | 108 | g->can_elpg = |
109 | nvgpu_platform_is_silicon(g) ? platform->can_elpg : false; | 109 | nvgpu_platform_is_silicon(g) ? platform->can_elpg_init : false; |
110 | g->default_pri_timeout = platform->default_pri_timeout; | 110 | g->default_pri_timeout = platform->default_pri_timeout; |
111 | g->aggressive_sync_destroy = platform->aggressive_sync_destroy; | 111 | g->aggressive_sync_destroy = platform->aggressive_sync_destroy; |
112 | g->aggressive_sync_destroy_thresh = platform->aggressive_sync_destroy_thresh; | 112 | g->aggressive_sync_destroy_thresh = platform->aggressive_sync_destroy_thresh; |
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, |