diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-03-09 18:12:09 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-14 14:47:06 -0400 |
commit | 8c9b64dc4249b2785c01485eb9b499c41cc7ed78 (patch) | |
tree | e66b4ece004d5782aeda813fce9fc9e3b5bb28cd /drivers/gpu/nvgpu/pmgr/pwrpolicy.h | |
parent | e4a131a98d47740098c554425c532a2e3e48274d (diff) |
gpu: nvgpu: Do not query SEC2 freq from CCF
dGPU's SEC2 is passed frequency, which is queried with
clk_get_rate(). dGPU clocks are not represented in CCF, so the query
always returned an error. The value is ignored, so this went
unnoticed.
Replace the call to clk_get_rate() by just hard coding 0 as the clock
rate.
Change-Id: I86fec3726d2b6683cdadd86cab1672f3b199378f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1319068
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Navneet Kumar <navneetk@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pwrpolicy.h')
0 files changed, 0 insertions, 0 deletions