gpu: nvgpu: Correct the name of devfreq governor

Remove the duplicated nvhost_pod_scaling_governor_v2 and switch to the
nvhost_pod_scaling_governor.

Bug 4074863

Signed-off-by: Johnny Liu <johnliu@nvidia.com>
Change-Id: Ia6016cab46e97f04366d6cf14355b2e7e0989df8
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2895568
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Johnny Liu
2023-04-28 00:23:36 +00:00
committed by mobile promotions
parent 3e5424bee3
commit 4e6be49eee

View File

@@ -2106,8 +2106,12 @@ static void __exit gk20a_exit(void)
MODULE_IMPORT_NS(DMA_BUF); MODULE_IMPORT_NS(DMA_BUF);
#endif #endif
#ifdef CONFIG_GK20A_DEVFREQ #ifdef CONFIG_GK20A_DEVFREQ
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)
MODULE_SOFTDEP("pre: governor_pod_scaling");
#else
MODULE_SOFTDEP("pre: governor_pod_scaling_v2"); MODULE_SOFTDEP("pre: governor_pod_scaling_v2");
#endif #endif
#endif
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
module_init(gk20a_init); module_init(gk20a_init);
module_exit(gk20a_exit); module_exit(gk20a_exit);