mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Below HALs to get max FBPs, max LTC per FBP, max LTS pet LTC values are right now defined by GR unit. g->ops.gr.get_max_fbps_count() g->ops.gr.get_max_ltc_per_fbp() g->ops.gr.get_max_lts_per_ltc() These HALs only read registers from hw_top_*.h h/w unit, and as such belong to TOP unit. Move them appropriately as below g->ops.top.get_max_fbps_count() g->ops.top.get_max_ltc_per_fbp() g->ops.top.get_max_lts_per_ltc() Remove hw_top_*.h h/w header include from gr_gk20a.c and gr_gm20b.c Jira NVGPU-2894 Change-Id: I995d9f56edb65c9de98d2d15d34ecb72920a65c6 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2030672 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>