mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 18:42:29 +03:00
Compile out PMU RTOS specific PMU HAL code when PMU RTOS support is disabled for safety build by setting NVGPU_LS_PMU build flag to 0 Added new functions for gv11b PMU HAL to easy compile out other PMU HAL files. Replaced all gk20a_writel/readl calls with nvgpu_writel/readl calls in hal/pmu/pmu_gv11b.c files JIRA NVGPU-3418 Change-Id: I7c315349aa95721990dc7b1570383669bcb6221f Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2117691 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>