summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/lpwr/lpwr.c
diff options
context:
space:
mode:
authorVishruth <vishruthj@nvidia.com>2018-07-02 01:27:39 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-02 11:06:45 -0400
commitcf2ac655fdaeba5779ce9d73cbe567218a7c5a58 (patch)
tree7e923bfeba372c618293ec4cbfc0dd09771413e0 /drivers/gpu/nvgpu/lpwr/lpwr.c
parentead0dfaaa36acea84664d256e361558fe110a6df (diff)
gpu: nvgpu: fix missing max frequency
The last frequency in the local array with all frequencies was missed as the index was used as count. This caused max frequency to be not listed among available frequencies, when few frequencies were configured in BPMPFW-DT. Bug 200381453 Change-Id: I72d000ed1842c41555f2de36209fa4e12188c325 Signed-off-by: Vishruth <vishruthj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1767642 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/lpwr/lpwr.c')
0 files changed, 0 insertions, 0 deletions