mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
8a2d6e1b541120ac6ac609f9923d36410b61ac76
governor_pod_scaling_v2 will be provided as a kernel module in future NVIDIA software deliverables for Linux platforms. As of this moment, the function that returns the range of the device's scaling frequency hasn't been exposed from Linux kernel for modules to call. A similar function is implemented in the governor_pod_scaling_v2, but this function cannot get the frequency constraints put through the PM QOS interface due to the same reason, lack of kernel API function. An upstream kernel patch has been proposed by the power management maintainer to provide the function needed by governor_pod_scaling_v2, but it's not in any release kernel yet. For now, PM QOS support is removed from governor_pod_scaling_v2 and it will be added back when the upstream kernel patch is available in kernel releases. drivers_devfreq_governor_5_14.h is a copy of drivers/devfreq/governor.h of Linux kernel 5.14. Having this copy is to avoid introducing the dependency on Linux source for building the podgov as external module. JIRA ID: LS-418 Signed-off-by: Peng Liu <pengliu@nvidia.com> Change-Id: I0c70acf5679fed53f30bc3ba7c01ea571036cc5e Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2638232 Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> GVS: Gerrit_Virtual_Submit
Description
No description provided