mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
ebb65b6eae4a9a23dd967fa116e9789758ebe21f
API nvgpu_grmgr_get_gr_syspipe_id() right now traverses all the GPU instances to find requested gr_instance_id. But logically, gr_instance_id is always going to be same as gpu_instance_id since nvgpu only supports one GR engine instace per GPU instance. Fix this function by extracting GPU instance based on gr_instance_id and then fetching syspipe_id stored for that GPU instance. Jira NVGPU-5648 Change-Id: Ie7b86d765006353d0571e786a8089e7f75f779c3 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2405406 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@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> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
Description
No description provided