]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: cancel all wdt timeouts while handling SCHED errors
authorDeepak Nibade <dnibade@nvidia.com>
Mon, 5 Oct 2015 08:24:37 +0000 (13:54 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 5 Nov 2015 07:23:02 +0000 (23:23 -0800)
commitaceac22e3e82da8de455fd84b5e41d5645088722
treeb38a198829d22b1579b01fe11b6d4090984e99da
parent8619d7be57f5a0370e3cbb8a79cc8145715e9033
gpu: nvgpu: cancel all wdt timeouts while handling SCHED errors

A SCHED error might cause multiple channels' watchdogs to trigger
simultaneously

Hence, to avoid this conflict cancel watchdog timeout on all
channels before recovering from SCHED errors

Also, define API gk20a_channel_timeout_stop_all_channels()
to cancel wdt timeout on all channels

Bug 200133289

Change-Id: I8324c397891f0a711327b77d0677cd6718af6d01
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/810959
(cherry picked from commit 1501d972d4ab1546737472d0469faacb6ed9eb18)
Reviewed-on: http://git-master/r/814255
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/825506
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/gpu/nvgpu/gk20a/channel_gk20a.c
drivers/gpu/nvgpu/gk20a/channel_gk20a.h
drivers/gpu/nvgpu/gk20a/fifo_gk20a.c