diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-10-05 02:16:04 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-10-07 18:00:18 -0400 |
commit | ff417a72e29249402acf13eb597caced4900a491 (patch) | |
tree | 702d4ac58959eea0d6f33c2e94a81a23c1a576bf /drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |
parent | 488a2c38d17cd13b4453678d81c92db0664dd077 (diff) |
gpu: nvgpu: make wdt timeout per-platform
Channel watchdog timeout is set to a costant value of 5s
as of now
Make this timeout platform specific and set it to 5s for gm20b
and 7s for gk20a
Bug 200133289
Change-Id: I6e7f0fed93a8d5b197ae46807131311196c6636f
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/810956
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index 9d74b412..20600207 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -38,8 +38,6 @@ struct gk20a_fence; | |||
38 | #include "gr_gk20a.h" | 38 | #include "gr_gk20a.h" |
39 | #include "fence_gk20a.h" | 39 | #include "fence_gk20a.h" |
40 | 40 | ||
41 | #define NVGPU_CHANNEL_WATCHDOG_DEFAULT_TIMEOUT_MS 5000 | ||
42 | |||
43 | struct gpfifo { | 41 | struct gpfifo { |
44 | u32 entry0; | 42 | u32 entry0; |
45 | u32 entry1; | 43 | u32 entry1; |