summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2015-04-17 02:32:46 -0400
committerIshan Mittal <imittal@nvidia.com>2015-05-18 02:01:39 -0400
commit7072bdc513971528db862f9ab983263b0b48b493 (patch)
tree4983076d9668164ed769984fba1115a45c865b05 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c
parentae2a356f367eb399519d194a33aba6e0f83834a4 (diff)
gpu: nvgpu: check sync existence in channel update
The channel sync object can get deleted before all channel updates have finished if the channel is freed before them, so work around a null dereference by testing if the sync exists. Channel and/or c->sync refcounting would be necessary for proper fix. Bug 200076344 Change-Id: Ica8ef2df9cd95cfa593cd4f41768dbb6641357b2 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/734266 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
0 files changed, 0 insertions, 0 deletions