mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
RPC handlers for therm, volt, perfmon and acr were open coded in the pmu_rpc_handler. Instead, add implementations to respective units. To avoid the dereferncing of struct nvgpu_pmu to avoid the circular dependency we pass gk20a struct as input to nvgpu_pmu_rpc_execute and other pmu_ipc.c functions. JIRA NVGPU-1970 Change-Id: I6ea046960936923e69242bf90e8e25958cfba85e Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2079145 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-by: Ankur Kishore <ankkishore@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
3.7 KiB
3.7 KiB