diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2019-10-01 18:20:25 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2019-10-14 11:32:07 -0400 |
commit | 12202fbdcfd73129b5bc582473fa6a8a93306de7 (patch) | |
tree | bf0c60232781e830b4855dd563def0786d224fce /drivers/gpu/nvgpu/os/posix | |
parent | 7b3d5d6bf07e9d7633995ca7c4c1ab4090a139e7 (diff) |
nvgpu: fix get_maxrate when no dvfs
In nvgpu_linux_get_maxrate, if tegra_dvfs_get_maxrate
returns 0 (a sign that there is no dvfs support), call
nvgpu_clk_arb_get_arbiter_clk_range to get the max
gpu frequency.
Bug 200543218
Change-Id: I4f9bc0acaef98cd9dfa22f709656f4bb7e9fd349
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2215161
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Satish Arora <satisha@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/posix')
0 files changed, 0 insertions, 0 deletions