summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2015-11-25 04:52:24 -0500
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-11-30 11:48:59 -0500
commit632a86f7cdec9f795fdef56ad028694c72d4e9d4 (patch)
treef3effaac4d6347614154d1c483eceaa3c0480647 /drivers/gpu/nvgpu/gk20a/channel_gk20a.h
parentc45f8cadee552001ac6881ef570730055a98a7c5 (diff)
gpu: nvgpu: IOCTL to disable watchdog per-channel
Add IOCTL NVGPU_IOCTL_CHANNEL_WDT to disable/enable watchdog per-channel Also, if watchdog is disabled, we currently schedule the worker with MAX timeout. Instead of this, do not schedule any worker if watchdog is disabled Bug 1683059 Bug 1700277 Change-Id: I7f6bec84adeedb74e014ed6d1471317b854df84c Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/837962 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index 245db56a..55528dd9 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -92,6 +92,7 @@ struct channel_gk20a {
92 wait_queue_head_t ref_count_dec_wq; 92 wait_queue_head_t ref_count_dec_wq;
93 93
94 int hw_chid; 94 int hw_chid;
95 bool wdt_enabled;
95 bool bound; 96 bool bound;
96 bool first_init; 97 bool first_init;
97 bool vpr; 98 bool vpr;