diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-01-11 10:11:07 -0500 |
---|---|---|
committer | Sachin Nikam <snikam@nvidia.com> | 2016-01-13 02:22:36 -0500 |
commit | f7285577d7948115ff38c83982eb3b126302b195 (patch) | |
tree | 2c8758c57c8ab78acdec885fe1bd345bcc6fb6b5 /drivers/gpu/nvgpu/vgpu | |
parent | e8ebe36a2558d8a71e292986e2f286e94ed7da0a (diff) |
gpu: nvgpu: enable wdt for each channel open
We currently enable per-channel wdt flag at channel
initialization time only
But if process disables channel's wdt via per-channel
IOCTL, and closes the channel without re-enabling it,
we leave the wdt disabled on that channel
And if same channel is assigned to some other process,
then that process might have wdt disabled already
Fix this by setting ch->wdt_enabled = true during
gk20a_open_new_channel()
Bug 200165797
Change-Id: I3ab482ce7cfbcbbd2178041f01f97457ff24f7bb
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/931128
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
0 files changed, 0 insertions, 0 deletions