mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
Nvgpu uses RPC to get target voltage for a freq, though this gets the latest Voltage, there could be mismatch b/w data in nvgpu & PMU. To make it consistent, use the local VF table for getting the voltage. Also the slave ratio calculation is inaccurate due to quantization. So instead of calculating, use the slave ratio from parsed vbios table. Bug 200545403 Change-Id: Ibb064f2a0f5eba77166e2b3f9868da9e3fcc7193 Signed-off-by: Abdul Salam <absalam@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2183546 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>