diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/driver_common.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/pci.c | 9 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/platform_gk20a.h | 5 |
3 files changed, 0 insertions, 15 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c index 2475912a..8f33c5d2 100644 --- a/drivers/gpu/nvgpu/common/linux/driver_common.c +++ b/drivers/gpu/nvgpu/common/linux/driver_common.c | |||
@@ -158,7 +158,6 @@ static void nvgpu_init_pm_vars(struct gk20a *g) | |||
158 | __nvgpu_set_enabled(g, NVGPU_GPU_CAN_BLCG, | 158 | __nvgpu_set_enabled(g, NVGPU_GPU_CAN_BLCG, |
159 | nvgpu_platform_is_silicon(g) ? platform->can_blcg : false); | 159 | nvgpu_platform_is_silicon(g) ? platform->can_blcg : false); |
160 | 160 | ||
161 | g->default_pri_timeout = platform->default_pri_timeout; | ||
162 | g->aggressive_sync_destroy = platform->aggressive_sync_destroy; | 161 | g->aggressive_sync_destroy = platform->aggressive_sync_destroy; |
163 | g->aggressive_sync_destroy_thresh = platform->aggressive_sync_destroy_thresh; | 162 | g->aggressive_sync_destroy_thresh = platform->aggressive_sync_destroy_thresh; |
164 | g->has_syncpoints = platform->has_syncpoints; | 163 | g->has_syncpoints = platform->has_syncpoints; |
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c index 70125cbc..3d3c2a9f 100644 --- a/drivers/gpu/nvgpu/common/linux/pci.c +++ b/drivers/gpu/nvgpu/common/linux/pci.c | |||
@@ -90,7 +90,6 @@ static struct gk20a_platform nvgpu_pci_device[] = { | |||
90 | .can_slcg = true, | 90 | .can_slcg = true, |
91 | .can_blcg = true, | 91 | .can_blcg = true, |
92 | .can_elcg = true, | 92 | .can_elcg = true, |
93 | .default_pri_timeout = 0x3ff, | ||
94 | 93 | ||
95 | .disable_aspm = true, | 94 | .disable_aspm = true, |
96 | 95 | ||
@@ -127,7 +126,6 @@ static struct gk20a_platform nvgpu_pci_device[] = { | |||
127 | .can_slcg = true, | 126 | .can_slcg = true, |
128 | .can_blcg = true, | 127 | .can_blcg = true, |
129 | .can_elcg = true, | 128 | .can_elcg = true, |
130 | .default_pri_timeout = 0x3ff, | ||
131 | 129 | ||
132 | .disable_aspm = true, | 130 | .disable_aspm = true, |
133 | 131 | ||
@@ -164,7 +162,6 @@ static struct gk20a_platform nvgpu_pci_device[] = { | |||
164 | .can_slcg = true, | 162 | .can_slcg = true, |
165 | .can_blcg = true, | 163 | .can_blcg = true, |
166 | .can_elcg = true, | 164 | .can_elcg = true, |
167 | .default_pri_timeout = 0x3ff, | ||
168 | 165 | ||
169 | .disable_aspm = true, | 166 | .disable_aspm = true, |
170 | 167 | ||
@@ -201,7 +198,6 @@ static struct gk20a_platform nvgpu_pci_device[] = { | |||
201 | .can_slcg = true, | 198 | .can_slcg = true, |
202 | .can_blcg = true, | 199 | .can_blcg = true, |
203 | .can_elcg = true, | 200 | .can_elcg = true, |
204 | .default_pri_timeout = 0x3ff, | ||
205 | 201 | ||
206 | .disable_aspm = true, | 202 | .disable_aspm = true, |
207 | 203 | ||
@@ -238,7 +234,6 @@ static struct gk20a_platform nvgpu_pci_device[] = { | |||
238 | .can_slcg = false, | 234 | .can_slcg = false, |
239 | .can_blcg = false, | 235 | .can_blcg = false, |
240 | .can_elcg = false, | 236 | .can_elcg = false, |
241 | .default_pri_timeout = 0x3ff, | ||
242 | 237 | ||
243 | .disable_aspm = true, | 238 | .disable_aspm = true, |
244 | 239 | ||
@@ -273,7 +268,6 @@ static struct gk20a_platform nvgpu_pci_device[] = { | |||
273 | .can_slcg = false, | 268 | .can_slcg = false, |
274 | .can_blcg = false, | 269 | .can_blcg = false, |
275 | .can_elcg = false, | 270 | .can_elcg = false, |
276 | .default_pri_timeout = 0x3ff, | ||
277 | 271 | ||
278 | .disable_aspm = true, | 272 | .disable_aspm = true, |
279 | 273 | ||
@@ -308,7 +302,6 @@ static struct gk20a_platform nvgpu_pci_device[] = { | |||
308 | .can_slcg = false, | 302 | .can_slcg = false, |
309 | .can_blcg = false, | 303 | .can_blcg = false, |
310 | .can_elcg = false, | 304 | .can_elcg = false, |
311 | .default_pri_timeout = 0x3ff, | ||
312 | 305 | ||
313 | .disable_aspm = true, | 306 | .disable_aspm = true, |
314 | 307 | ||
@@ -344,7 +337,6 @@ static struct gk20a_platform nvgpu_pci_device[] = { | |||
344 | .can_slcg = true, | 337 | .can_slcg = true, |
345 | .can_blcg = true, | 338 | .can_blcg = true, |
346 | .can_elcg = true, | 339 | .can_elcg = true, |
347 | .default_pri_timeout = 0x3ff, | ||
348 | 340 | ||
349 | .disable_aspm = true, | 341 | .disable_aspm = true, |
350 | 342 | ||
@@ -380,7 +372,6 @@ static struct gk20a_platform nvgpu_pci_device[] = { | |||
380 | .can_slcg = false, | 372 | .can_slcg = false, |
381 | .can_blcg = false, | 373 | .can_blcg = false, |
382 | .can_elcg = false, | 374 | .can_elcg = false, |
383 | .default_pri_timeout = 0x3ff, | ||
384 | 375 | ||
385 | .disable_aspm = true, | 376 | .disable_aspm = true, |
386 | 377 | ||
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gk20a.h b/drivers/gpu/nvgpu/common/linux/platform_gk20a.h index 07e72247..9a99b7fe 100644 --- a/drivers/gpu/nvgpu/common/linux/platform_gk20a.h +++ b/drivers/gpu/nvgpu/common/linux/platform_gk20a.h | |||
@@ -120,11 +120,6 @@ struct gk20a_platform { | |||
120 | */ | 120 | */ |
121 | bool force_reset_in_do_idle; | 121 | bool force_reset_in_do_idle; |
122 | 122 | ||
123 | /* default pri timeout, on PCIe it should be lower than timeout | ||
124 | * detection | ||
125 | */ | ||
126 | u32 default_pri_timeout; | ||
127 | |||
128 | /* guest/vm id, needed for IPA to PA transation */ | 123 | /* guest/vm id, needed for IPA to PA transation */ |
129 | int vmid; | 124 | int vmid; |
130 | 125 | ||