mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
g->ops.gr.commit_inst() HAL is used to commit gr context to engine There is nothing h/w specific in HAL implementation anymore and the sequence can be unified by checking support for subcontext feature Remove gr_gv11b_commit_inst() and gr_gk20a_commit_inst() and unify the sequence in nvgpu_gr_obj_ctx_commit_inst() API in common.gr.obj_ctx unit. Use this API instead of hal. Channel subcontext is now directly allocated in gk20a_alloc_obj_ctx() vGPU code will directly call vGPU implementation vgpu_gr_commit_inst() Delete the hal apis Since they are no longer needed Jira NVGPU-1887 Change-Id: Iae1f6be4ab52e3e8628f979f477a300e65c92200 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2090497 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>