mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
Add new HAL unit common.hal.gr.init with below source files hal/gr/init/gr_init_gm20b.c hal/gr/init/gr_init_gm20b.h In gr_gk20a_init_golden_ctx_image() we force FE power mode on and also disable it. Extract out this sequence into new unit and expose new HAL operation that takes a boolean flag to enable/disable power mode g->ops.gr.init.fe_pwr_mode_force_on() Use new HAL operation in gr_gk20a_init_golden_ctx_image() Set this HAL for all the chips Jira NVGPU-2961 Change-Id: I1dd35d94fda5e5296af67c0abc944e200fb752ea Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2070607 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>