Files
linux-nvgpu/drivers/gpu
Deepak Nibade f7285577d7 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>
2016-01-12 23:22:36 -08:00
..