mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Group gr falcon init related function together during init and gr_reset sequence. This init sequence has following functions: gr_gk20a_init_ctxsw gr->ops.gr.init_ctx_state gk20a_init_gr_bind_fecs_elpg This init sequence will be moved to common gr falcon unit. During gk20a_gr_reset sequence, instead of separate function calls for fecs reglist operations, switched to helper function gk20a_init_gr_bind_fecs_elpg. Also, this call needs to be protected with g->can_elpg setting since it involves gpmu instblk. JIRA NVGPU-1881 Change-Id: I74542ccb5f5ffce11374d30b8d5a5cc705feed9f Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2081244 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>