diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/driver_common.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/driver_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c index 425198d5..51ae18a3 100644 --- a/drivers/gpu/nvgpu/common/linux/driver_common.c +++ b/drivers/gpu/nvgpu/common/linux/driver_common.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
19 | #include <uapi/linux/nvgpu.h> | 19 | #include <uapi/linux/nvgpu.h> |
20 | 20 | ||
21 | #include <nvgpu/defaults.h> | ||
21 | #include <nvgpu/kmem.h> | 22 | #include <nvgpu/kmem.h> |
22 | #include <nvgpu/nvgpu_common.h> | 23 | #include <nvgpu/nvgpu_common.h> |
23 | #include <nvgpu/soc.h> | 24 | #include <nvgpu/soc.h> |
@@ -88,7 +89,7 @@ static void nvgpu_init_timeout(struct gk20a *g) | |||
88 | { | 89 | { |
89 | struct gk20a_platform *platform = dev_get_drvdata(dev_from_gk20a(g)); | 90 | struct gk20a_platform *platform = dev_get_drvdata(dev_from_gk20a(g)); |
90 | 91 | ||
91 | g->gr_idle_timeout_default = CONFIG_GK20A_DEFAULT_TIMEOUT; | 92 | g->gr_idle_timeout_default = NVGPU_DEFAULT_GR_IDLE_TIMEOUT; |
92 | if (nvgpu_platform_is_silicon(g)) | 93 | if (nvgpu_platform_is_silicon(g)) |
93 | g->timeouts_enabled = true; | 94 | g->timeouts_enabled = true; |
94 | else if (nvgpu_platform_is_fpga(g)) { | 95 | else if (nvgpu_platform_is_fpga(g)) { |