Files
linux-nvgpu/drivers/gpu/nvgpu/gk20a
Seshendra Gadagottu 9e02111a76 gpu: nvgpu: fix race condition with poweroff
When gpu rail-gating is enabled, it is possible that
both rail gating code and system shudown can start
executing gk20a_pm_prepare_poweroff() in parallel.
To synchronize this execution, protect gk20a_pm_prepare_poweroff()
with a mutex lock.

Bug 200168805

Change-Id: I19536a43ed20c3e82b32c316922dc3e19e3f59bb
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/999548
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2016-01-29 12:58:22 -08:00
..
2015-07-03 19:00:22 -07:00
2015-03-18 12:08:53 -07:00
2015-03-18 12:08:53 -07:00
2016-01-21 09:29:05 -08:00
2016-01-21 09:29:05 -08:00
2015-03-18 12:10:40 -07:00