mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Introduce DEVFREQ_GOV_POD_SCALING_V2 for podgov governor implementation on kernel-5.9 and later version to address major changes in upstream devfreq framework. 1. devfreq framework uses devm_pm_qos to store "min/max frequency request from user-space", which caused 'min_freq' & 'max_freq' field in struct devfreq have been removed. 2. DEVFREQ_GOV_INTERVAL renamed as DEVFREQ_GOV_UPDATE_INTERVAL, and devfreq_interval_update() renamed as devfreq_update_interval() 3. return type of debugfs_create_u32() changed to void Bug 200639056 Change-Id: I673ae3ac6b55b26766253ae0f1aeba181e2e0b53 Signed-off-by: Aaron Tian <atian@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2400108 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>