diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-04-07 08:50:50 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-03 12:01:20 -0400 |
commit | caed43e0a208d87dd2c1788a74897072422b89a8 (patch) | |
tree | c8fae4fbb4fc3f7d6d137d072e2df2ad822d36aa /drivers/gpu/nvgpu/pci.c | |
parent | fb7c8c756c9aa207d76d8316c3482a306b36596a (diff) |
gpu: nvgpu: return from worker if gpu is not up
During GPU shutdown path, it is possible that we
shut down the GPU while worker thread is still
running gk20a_channel_update()
Hence before accessing gp_put/get, check if GPU
is up or not
Bug 200166139
Change-Id: Iba3ec173041a84527c4700a93f20564a842cfb01
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/935193
(cherry picked from commit c81ea5fe383c44e872754b363968af57d84225ac)
Reviewed-on: http://git-master/r/1121917
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pci.c')
0 files changed, 0 insertions, 0 deletions