diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2017-01-04 13:59:01 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-11 12:13:43 -0500 |
commit | 5e68c6e971d98fc9d4beaf69c5ca58f39f8db1a7 (patch) | |
tree | 6b67a949668f21858a27f0546068659ff680cc46 /drivers/gpu/nvgpu/pmgr/pmgr.h | |
parent | 318524ee2f8bc117db25608d432bcc60d92d8c08 (diff) |
gpu: nvgpu: add support for refcount tracking
If enabled, track actions (gets and puts) on channel reference counters.
Dump the most recent actions to syslog when
gk20a_wait_until_counter_is_N gets stuck when closing a channel.
GK20A_CHANNEL_REFCOUNT_TRACKING specifies the size of the action
history. Default is to disable completely, as this has some runtime
overhead.
Bug 1826754
Change-Id: I880b0efe8881044d02ae224c243a51cb6c2db8c1
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1262424
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pmgr.h')
0 files changed, 0 insertions, 0 deletions