mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
Allocate space at runtime for PMU mutex, this helps to reduce the size of nvgpu_pmu struct when LS_PMU support is not required. Allocation happens at pmu early init stage & will deinit at remove_support stage. JIRA NVGPU-1972 Change-Id: I25411877fc2fa9da5e09c9e8d84d87cafd43f06d Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2110105 GVS: Gerrit_Virtual_Submit Reviewed-by: Ramesh Mylavarapu <rmylavarapu@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>