diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-06-04 08:47:05 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:05 -0400 |
commit | cd13ee4aafcdb0206078e9e41aca53107235bbed (patch) | |
tree | f508c01e62955a5594f656d02b216c32fd462ca3 /include/trace/events | |
parent | f2e30622a18ad2a9a3bf94b4916a1139e0808b6a (diff) |
gpu: nvgpu: Set ch error before channel disable
In error case we first disabled the channel, and reset sync point to
max. After this we set channel error state. This causes a race if
channel is closed between setting sync point and setting channel
state.
Rearrange the code so that error state is set first, and only then
channel is disabled.
Bug 1519646
Change-Id: I20550f6a2708f892b6ba4ee714e90bdecdd128ad
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/418948
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Diffstat (limited to 'include/trace/events')
0 files changed, 0 insertions, 0 deletions