mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
Max GPU clk supported by BPMP is 1.275GHz. Remove the hard-coded default value of 1GHz and pass an arbitrary high value to BPMP API to set the clocks to max rate. Use UINT_MAX instead of a hardcoded clk max_rate value (like 1.275GHz) to ensure that the max clock rate supported by BPMP is chosen during clk_set_rate(). Bug 200779751 Change-Id: I08719c3348e7e5c86aa45b423bac3a099cead005 Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2612146 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-by: Sagar Kamble <skamble@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit