summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-04-28 15:40:05 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-05-06 12:06:09 -0400
commit1fc23d1280d2777c1a32544e787f257769cf8834 (patch)
treeb7a136169578654319d9f7a539bcb24ccec33ea5
parent307f7f7b55f8b099c253579b923b2b6dc9da68e5 (diff)
gpu: nvgpu: Define watchdog timeout for PCIe
Watchdog timeout is now zero for PCIe devices. This makes also semaphore acquire timeout to be zero. Fix the timeout to be the same as for platform devices. JIRA DNVGPU-7 Change-Id: I5c2921b65f4f957c08a4e9f815deeed2ba231013 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1134441
-rw-r--r--drivers/gpu/nvgpu/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pci.c b/drivers/gpu/nvgpu/pci.c
index 3fc73a9a..cc942d11 100644
--- a/drivers/gpu/nvgpu/pci.c
+++ b/drivers/gpu/nvgpu/pci.c
@@ -61,6 +61,8 @@ static struct gk20a_platform nvgpu_pci_device = {
61 .is_railgated = nvgpu_pci_tegra_is_railgated, 61 .is_railgated = nvgpu_pci_tegra_is_railgated,
62 62
63 .default_big_page_size = SZ_64K, 63 .default_big_page_size = SZ_64K,
64
65 .ch_wdt_timeout_ms = 7000,
64}; 66};
65 67
66static struct pci_device_id nvgpu_pci_table[] = { 68static struct pci_device_id nvgpu_pci_table[] = {