diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-10-17 11:56:37 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-20 03:34:08 -0400 |
commit | 3c2656c8c6ebf7cef7376d3a28451249643121c4 (patch) | |
tree | 6cf1aa425137ad0ba4c580b5951daa1ec44d9baa /include/trace/events/gk20a.h | |
parent | bec21f8c6d5793af0685d4f877da8a1d10716848 (diff) |
gpu: nvgpu: clear events from channel/TSG while closing
If User does not close the event fd created on channel/TSG,
it is possible that the event stays on channel/TSG
structure and reappears when channel/TSG is re-opened
This causes false failure when we try to enable some event
of channel/TSG since we do not allow enabling same event
twice on same channel/TSG
Fix this by removing all enabled events from channel/TSG
while closing it
Bug 200243092
Bug 1818654
Change-Id: I9d5ffc89f87cf4c44124f8015c2c2f0587ad2ef4
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1237723
(cherry picked from commit 2737a5c86cf5fbfe8a04f6a87764e8ecb9b30555)
Reviewed-on: http://git-master/r/1238266
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include/trace/events/gk20a.h')
0 files changed, 0 insertions, 0 deletions