diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2018-09-27 20:23:37 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-29 02:04:32 -0400 |
commit | 1e125f245e95982d02746aab0fd2b9ea8db009f8 (patch) | |
tree | 4582918af8fbb26c805cb4ad948804f417b38a99 /drivers/gpu/nvgpu/os/linux/cde_gm20b.c | |
parent | 82baff9f6f3c7bb242d5378e3118763069460033 (diff) |
gpu: nvgpu: support for clk.measure_freq for igpu
Add support for the measure_freq clock op for igpu:
- add nvgpu_clk_measure_freq(), which in turn calls
the get_rate() clock op.
- Initialize the measure_freq clock op to nvgpu_clk_measure_freq()
for native linux and vgpu.
JIRA ESRM-398
Change-Id: I8a3b2ee79e29e3491a16f55281494f05cd841b07
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1850585
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nirav Patel <nipatel@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/cde_gm20b.c')
0 files changed, 0 insertions, 0 deletions