diff options
author | Prashant Malani <pmalani@nvidia.com> | 2014-01-02 15:47:14 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:45 -0400 |
commit | 6157db5d51f634fb44a286098d2764f6787f097c (patch) | |
tree | d4ad97c5d5667246b0462290700b4c9b88e33f0d /drivers/gpu/nvgpu/gk20a/hal.c | |
parent | 4c7065b558dac5968610415770d957f0e3b1ba69 (diff) |
gpu: nvgpu: gk20a: Update perfmon init
Make the perfmon sampling configurable, by adding an 'enabled' flag.
This is set according to the CONFIG initially. Modify the perfmon event
handler to not touch clock rates. Add a counter to count the number of
perfmon events.
Also add debugfs entries for the above.
Bug 1410515
Change-Id: Ic8197eef0e46e35af1179a5b06140393541cfd43
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/351564
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.c')
0 files changed, 0 insertions, 0 deletions