mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
The pod governor used to rely on being invoked from nvgpu on every gk20_busy/idle() call. This was done originally for load-tracking purposes. This change refactors the code to instead rely on devfreq's internal polling loop for calling the governor periodically. It also removes the idle timeout from the podgov code, since devfreq will keep polling even when the GPU is idle. Jira NVGPU-20 Change-Id: I767b74c250d199e3cd5f7e249a49736836a54c0d Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com> Reviewed-on: https://git-master/r/1484196 (cherry picked from linux-4.9 commit 5a0a5adcd0bd6fabbff9818ed6adba79cd8242ef) Reviewed-on: https://git-master.nvidia.com/r/1770150 Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Timo Alho <talho@nvidia.com> Tested-by: Timo Alho <talho@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>