mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
Mon subelement needs to access GPC TPC configuration registers to figure out GPC/TPC count post floor sweeping. These registers are needed as part of intr handling. Move priv ring init ahead in RM boot to make sure priv ring enumeration is done before any unit enables it's interrupts. This ensures that priv ring is enumerated before any interrupt handler is run to access GPC/TPC count. JIRA NVGPU-6528 Change-Id: I8aa6ac182e6dd60a79fa76af6813ea70102316f4 Signed-off-by: Tejal Kudav <tkudav@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2809442 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>