summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
authorSachit Kadle <skadle@nvidia.com>2016-11-17 15:57:56 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-21 07:00:13 -0500
commit5277ecd79cb2ff9bbad3cc2a755a727c2a9e90f0 (patch)
treec885fd9cd831dfdbd57da6d94aff0b4be5897efb /drivers/gpu/nvgpu/gk20a/gr_gk20a.c
parentc1064c27dfa26847234153652cf2b88167b90adf (diff)
gpu: nvgpu: fix error handling bug
This change fixes error handling logic in gk20a_alloc_channel_gpfifo(). In cases, where we don't allocate a channel_sync at gpfifo allocation time, we shouldn't attempt to destroy it while handling an error. Bug 200253447 Change-Id: I57a78c74bbce84fa17fb0360c59b8f413a9124a7 Signed-off-by: Sachit Kadle <skadle@nvidia.com> Reviewed-on: http://git-master/r/1255858 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
0 files changed, 0 insertions, 0 deletions