summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2014-10-31 04:47:00 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:11:58 -0400
commit7bb9fe2748d3324915108af85e6014da367071f6 (patch)
treeb95b11407d99657318b7a669891102a530b18323 /drivers/gpu/nvgpu/Makefile
parent14577a339ccc160ed58f8d936ebcbd96dba3b6ca (diff)
gpu: nvgpu: protect channel update callback access
Protect callback races from spurious gk20a channel updates by testing if the channel update callback still exists when in the scheduled work (instead of only when scheduling the work to the queue), and by canceling the work when the channel is freed. Protect access to the callback and its data by accessing them together inside spinlock-protected regions. Bug 200051384 Change-Id: Ib4e1571c35f662195e1dec1e362df32ddc099eb3 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/592026 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile')
0 files changed, 0 insertions, 0 deletions