mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
d7466525c8754e53256790851183b2d5be6cd310
When BWMGR is unavailable, BWMGR could be either unsupported and disabled in BPMP firmware. For unsupported state, MRQ_BWMGR_INT is not available to use. For disabled state, MRQ_BWMGR_INT is available but sending any MRQ_BWMGR_INT request will just get -BPMP_NODEV error code. Add error handling logic to make min_freq and max_freq devfreq sysfs nodes as read-only but still expose devfreq nodes, such as available_frequencies, min_freq, and max_freq, to allow user space apps to read information from. Bug 5555075 Change-Id: Id7c2695765d3dfee148a0d1bc1f7b0552fe4b343 Signed-off-by: Johnny Liu <johnliu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3467128 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Description
No description provided