diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2019-03-27 20:15:00 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2019-03-29 06:57:26 -0400 |
commit | 9e329ca39b64b9c96d1db70d750c287166af92d1 (patch) | |
tree | e70060d289798ce86653b6c54613fc2119350b76 /userspace/unit.sh | |
parent | e00804594b83781bc9f7c17ac68cd9c5dd30953c (diff) |
gpu: nvgpu: tsg: ensure unbound channel is disabled
Multiple threads could be unbinding different channels from
the same tsg at the same time. At the point where we
remove the channel from the tsg's channel list, call
disable_channel again, in case another thread had
re-enabled the channel after we had disabled it.
Bug 200404549
Change-Id: I9abbc08dc11fe1f7a0abada88376c0ef96b56610
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2083337
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Satish Arora <satisha@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'userspace/unit.sh')
0 files changed, 0 insertions, 0 deletions