mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Enable CONFIG_NVGPU_LS_PMU for dGPU safety build. Add missing #ifdefs for CONFIG_NVGPU_POWER_PG and CONFIG_NVGPU_CLK_ARB which are not defined for safety build. Moved gm20b_mc_is_enabled to fusa code. NVGPU_UNIT_PWR is only defined when CONFIG_NVGPU_HAL_NON_FUSA is defined. Added #ifdefs to compile out gk20a_pmu functions that are using it. Jira NVGPU-4661 Change-Id: Ieb552f9374bad6f3dad777322f118931e0bc94ec Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2317085 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit