summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/pci.c
diff options
context:
space:
mode:
authorDavid Nieto <dmartineznie@nvidia.com>2017-12-27 17:28:29 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-05 16:54:37 -0500
commit1f71f475e25fe786ec76d76a986aac8afec51b01 (patch)
treeb291dcd78bfa68473b4cdd544f452e3a9d0b35a3 /drivers/gpu/nvgpu/common/linux/pci.c
parent83096b7ffcfe7e79df1f28749a509eb645462d75 (diff)
DNI: gpu: nvgpu: Increase GV100 ctxsw timeouts
During bringup and before nvlink is up GV100 on the DDPX platform operates with a very, very slow sysmem link. In order to get sysmem test to pass it is neccesary to significantly increase most timeouts by an order the magnitude. Bug 2040544 Change-Id: I26858afde4ae80c70f86b47cfff674b6b00b5bf8 Signed-off-by: David Nieto <dmartineznie@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1627417 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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c
index 928d8354..23604633 100644
--- a/drivers/gpu/nvgpu/common/linux/pci.c
+++ b/drivers/gpu/nvgpu/common/linux/pci.c
@@ -340,7 +340,10 @@ static struct gk20a_platform nvgpu_pci_device[] = {
340 .is_railgated = nvgpu_pci_tegra_is_railgated, 340 .is_railgated = nvgpu_pci_tegra_is_railgated,
341 .clk_round_rate = nvgpu_pci_clk_round_rate, 341 .clk_round_rate = nvgpu_pci_clk_round_rate,
342 342
343 .ch_wdt_timeout_ms = 7000, 343 /*
344 * WAR: PCIE X1 is very slow, set to very high value till nvlink is up
345 */
346 .ch_wdt_timeout_ms = 30000,
344 347
345 .honors_aperture = true, 348 .honors_aperture = true,
346 .vbios_min_version = 0x1, 349 .vbios_min_version = 0x1,