summaryrefslogtreecommitdiffstats
path: root/include/trace/events/gk20a.h
diff options
context:
space:
mode:
authorShih-hsin Li <seasonl@nvidia.com>2019-05-07 19:34:01 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2019-05-09 23:43:17 -0400
commitaf95d14bb08850ed449eebae227faca800747108 (patch)
treee262ce10e0283d153f3527d7d375abaec22a4383 /include/trace/events/gk20a.h
parent6509bb49da19ba9b19e3df64e473b01d54fd310d (diff)
gpu: nvgpu: fix synchronization in nvgpu_vm_map
The mapping early returned from nvgpu_vm_map might already be unmapped during channel clean up. Increase refcount of an already mapped buffer inside the scope of update_gmmu_lock mutex to avoid this race. Bug 200494150 Change-Id: I66d9272e42c40cd3aae7ba3bb8106ec37691bf8e Signed-off-by: Shih-hsin Li <seasonl@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2114163 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Daniel Fu <danifu@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/trace/events/gk20a.h')
0 files changed, 0 insertions, 0 deletions