mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: add a soft dependency on podgov module
The present implementation of podgov driver doesn't
export any symbols and as a result, the dependency
between NVGPU driver and podgov is not established
by depmod. Fix that by adding a soft dependency.
MODULE_SOFTDEP("pre: governor_pod_scaling");
This allows loading the podgov governor before
nvgpu driver.
Bug 3674235
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Change-Id: Id1959639399042f488cdaa30372feb65d8f21aaa
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2740446
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ab32853a65
commit
e4b3499850
@@ -2059,6 +2059,9 @@ static void __exit gk20a_exit(void)
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0)
|
||||
MODULE_IMPORT_NS(DMA_BUF);
|
||||
#endif
|
||||
#ifdef CONFIG_GK20A_DEVFREQ
|
||||
MODULE_SOFTDEP("pre: governor_pod_scaling_v2");
|
||||
#endif
|
||||
MODULE_LICENSE("GPL v2");
|
||||
module_init(gk20a_init);
|
||||
module_exit(gk20a_exit);
|
||||
|
||||
Reference in New Issue
Block a user