mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gr_gv100_reset_hwpm_pmm_registers() writes a bunch of registers in sys/gpc/fbp chiplets to reset perfmons. To ensure all the writes have completed it is necessary to readback each chiplet's PRI fence register. Add and use new HAL g->ops.priv_ring.read_pri_fence() to achieve this. Implement the HAL for gv11b in new source code file hal/priv_ring/priv_ring_gv11b.c. Bug 2510974 Jira NVGPU-5360 Change-Id: If4dd61cb4265422e8c2d16884790eb0fe7f2c103 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2453631 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>