mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
Fixed timeout checking flow in sync-unmap where timeout message could be printed while there is not a timeout. The original codeflow doesn't check refcount of a mapped_buffer again after 10ms waiting. So if the buffer is released during the last round of waiting, the timeout message will still be printed. The new codeflow combines refcount and timeout checking. So that there won't be an inconsistency between the two. Bug 200434475 Change-Id: Id0a0aebcb24906a1ec7113e669227788e729564b Signed-off-by: Kyle Guo <kyleg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1930236 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
32 KiB
32 KiB