mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
In gr/config unit we right now query max gpc_count and tpc_per_gpc_count by directly accessing registers using hw_top_gm20b.h h/w header Update TOP unit to provide below HALs g->ops.top.get_gpc_count() g->ops.top.get_tpc_per_gpc_count() And call these HALs from gr/config Jira NVGPU-1879 Change-Id: I39f5d3bb80960d68a1f493b372745e964ad82803 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2016082 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>