mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Add new HAL API g->ops.gr.init.get_max_subctx_count() in hal.gr.init unit that returns max subctx count defined by h/w Use this new hal in all GR code instead of using value stored in struct fifo_gk20a Jira NVGPU-2961 Change-Id: I5db1d827c3b7581a5ba7aca4314ba2f5a590d80c Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2097532 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>