summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nvgpu.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-01-06 04:07:38 -0500
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-01-11 12:05:58 -0500
commit9713e3572a740216c6ecbc2257349be51c204a67 (patch)
treea2d5d82dbc94ca432295338695dafc5dc8cdfc16 /include/uapi/linux/nvgpu.h
parent2b064ce65e0035a860d1bc3bcccfcf8aac1f31c7 (diff)
gpu: nvgpu: disable ctxsw instead of all engines activity
In gk20a_channel_timeout_handler(), we currently disable all engine activity before checking for fence completion and before we identify timed out channel But disabling all engine activity could be overkill for this process. Also, as part of disabling engine activity we preempt the channel on engine. But it is possible that channel preemption times out since channel has already timed out And this can lead to races and deadlock Hence, instead of disabling all engine activity, just disable the context switch which should also do the same trick Bug 1716062 Change-Id: I596515ed670a2e134f7bcd9758488a4aa0bf16f7 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/929421 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/uapi/linux/nvgpu.h')
0 files changed, 0 insertions, 0 deletions