mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
Get current GR instance pointer with nvgpu_gr_get_cur_instance_ptr() in nvgpu_gr_setup_alloc_obj_ctx() and update all the code in this function to use this GR instance pointer instead of globally accessing g->gr->* data structures. Add lots of GR engine specific debug prints in context creation path. Jira NVGPU-5648 Change-Id: Ia8681d115ee88c5848621854f23e1cce4ff3deb2 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2415239 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Lakshmanan M <lm@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Lakshmanan M <lm@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
29 KiB
29 KiB