mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
Enable DEVFREQ for OOT module unconditionally as the podgov governor module. linux/pm_qos is only used for downstream supported modifications which is currently determined by CONFIG_GK20A_PM_QOS. struct devfreq_dev_status doesn't have any field 'busy' in the upstream driver hence enable it only for when downstream driver is in use activated by CONFIG_GK20A_PM_QOS. governor.h is only needed for android platforms which depend on 4.9 version of the kernel in downstream builds. Hence, added an compile time flag to remove it for kernels versions greater than 4.9. Jira LS-418 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Change-Id: Id242bd28e66ed187208f0d7975ee0bc508730a88 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2705766 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> GVS: Gerrit_Virtual_Submit