diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-04-05 10:32:22 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-03 12:02:13 -0400 |
commit | 71beac3de01997d20f3adb2ce38a4e6f7a9cff65 (patch) | |
tree | 45b9977b4711e4e9dbcb786938ad562ca574050f /include/linux/gk20a.h | |
parent | 0dd7ffbf2367fa892a0730a8264077e79fd1b18c (diff) |
gpu: nvgpu: cancel clean up before update_fn_work
In gk20a_channel_suspend(), we first cancel worker
thread update_fn_work and then cancel job clean up worker
But it is possible that we re-schedule update_fn_work from
job cleanup worker after it was cancelled
And in that case worker update_fn_work might run after
we poweroff GPU
Fix this by first cancelling job clean up worker and
then update_fn_work worker
Bug 200187905
Change-Id: Ia192c515702f14becf60d92c6471d8c0e892551e
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1120426
(cherry picked from commit b132b6c5aa9ab88c6733f36906f1b874114ec72d)
Reviewed-on: http://git-master/r/1134888
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/gk20a.h')
0 files changed, 0 insertions, 0 deletions