summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/pmgr/pmgr.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-01-12 11:08:10 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-20 12:45:19 -0500
commitd0e3e668854d992f615406e461173a3cee114294 (patch)
tree69496c7684b53932216faa8bce63147e828c8207 /drivers/gpu/nvgpu/pmgr/pmgr.c
parenta470647ad71c3063fa76ec14ac67493045d0e122 (diff)
gpu: nvgpu: compare rounded freq to last value
We right now compare requested value to the last freq value. Last freq value is always a rounded value, whereas requested value need not be a rounded value Hence it is incorrect to compare requested value to last freq value Fix this by comparing rounded value to last_freq Change-Id: I7c6ea7c4e57105598c9af75efe70016b7fa8038b Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1287360 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pmgr.c')
0 files changed, 0 insertions, 0 deletions