summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100
diff options
context:
space:
mode:
authorseshendra <sgadagottu@nvidia.com>2019-09-03 17:20:03 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2019-09-06 01:39:33 -0400
commit0214511e2e085b8233600467ab2b044f9f826bc8 (patch)
treeae5c87a2ef7b348ca424103665c86690110d8e5d /drivers/gpu/nvgpu/gv100
parent07ddc5aaad9a89a758cb5fe247c06d845b025e65 (diff)
gpu: nvgpu: fix enable/disable fecs trace
- This patch fixes enable/disable fecs trace logic. - Added enable_lock and enable_count to handle multiple enable/disable of fecs trace logic. - If user does trace disable twice, enable_count will become negative and when user tries to re-enable it, fecs trace will not be enabled. Bug 2672760 Bug 200542611 Change-Id: Ic7d4883b899f01dcf43058d0e7c9d1223a716c9b Signed-off-by: seshendra <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2189371 GVS: Gerrit_Virtual_Submit Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100')
0 files changed, 0 insertions, 0 deletions