diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2017-03-07 20:51:42 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-17 13:56:34 -0400 |
commit | 38d90b60922e6de6b795694d3e3cdf66d4ddae5f (patch) | |
tree | 8a8c14d5e45383918f9518b608ee8aba43ec100d /drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |
parent | ca762e42205febba72ce063417e1ac598610941d (diff) |
gpu: nvgpu: del channel job before fence is closed
In gk20a_channel_clean_up_jobs, move removal of job from channel's job list
to before fences are cleaned up; this will prevent gk20a_channel_abort from
asynchronously trying to dereference an already freed job.
Bug 1844305
JIRA EVLR-849
Change-Id: I1ba05237aa74be1350007630bfa5eba9988f859a
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
(cherry picked from commit 2a9ce58b1b318b95ecfcdf78462f918d090eab99)
Reviewed-on: http://git-master/r/1319026
(cherry picked from commit 990f070b0a363159ce1b21f936b7512f469018ca)
Reviewed-on: http://git-master/r/1321624
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
0 files changed, 0 insertions, 0 deletions