diff options
author | David Nieto <dmartineznie@nvidia.com> | 2016-11-11 01:50:20 -0500 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:52 -0500 |
commit | 26265b997447c8c1fddac6a904ac4b6ef2b2f3b5 (patch) | |
tree | f554465c507c2ef6f66758a73e987975d725b6ea /drivers/gpu/nvgpu/pstate/pstate.h | |
parent | cd25b202361ace2a04594de38a48f66aa75e1cb8 (diff) |
gpu: nvgpu: arb: fix rounding in effective clocks
Current code cast casting the frequency to 16 bit
before division, giving out incorrect data
JIRA DNVGPU-164
Change-Id: I4eb1fa73fb9e8963f550d3d853db39b49b990fa4
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: http://git-master/r/1251663
(cherry picked from commit c0d91a054f8278af9a2383bb3f837465779132a9)
Reviewed-on: http://git-master/r/1274546
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pstate/pstate.h')
0 files changed, 0 insertions, 0 deletions