diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-05-01 14:12:12 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-03 14:05:18 -0400 |
commit | 5e33f58a5ee971cd846f9f2a41ed652a5f2b1523 (patch) | |
tree | 38a616a2b4ff4d80f6d196e417e0135bff9fc0f9 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 162108d0706bb45cdff07c31ab1360935b396f67 (diff) |
gpu: nvgpu: Move ch_wdt_timeout to gk20a
Copy watchdog timeout from platform structure to gk20a and use it
from gk20a.
JIRA NVGPU-16
Change-Id: Iab70253a7f0e1d28f2e3209285b3f4c476ce9279
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1473705
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 74e2c688..c9a2ee93 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -976,6 +976,7 @@ struct gk20a { | |||
976 | #else | 976 | #else |
977 | bool timeouts_enabled; | 977 | bool timeouts_enabled; |
978 | #endif | 978 | #endif |
979 | unsigned int ch_wdt_timeout_ms; | ||
979 | 980 | ||
980 | struct nvgpu_mutex poweroff_lock; | 981 | struct nvgpu_mutex poweroff_lock; |
981 | 982 | ||