diff --git a/drivers/gpu/nvgpu/libnvgpu-drv_safe.export b/drivers/gpu/nvgpu/libnvgpu-drv_safe.export index f7d31c272..aa91e07b5 100644 --- a/drivers/gpu/nvgpu/libnvgpu-drv_safe.export +++ b/drivers/gpu/nvgpu/libnvgpu-drv_safe.export @@ -162,6 +162,7 @@ gv11b_gpu_phys_addr gv11b_init_fifo_reset_enable_hw gv11b_init_fifo_setup_hw gv11b_init_hal +gv11b_therm_max_fpdiv_factor gv11b_init_therm_setup_hw gv11b_is_fault_engine_subid_gpc gv11b_mc_is_mmu_fault_pending diff --git a/userspace/units/therm/nvgpu-therm.c b/userspace/units/therm/nvgpu-therm.c index 7b29c2de3..5d7d73b65 100644 --- a/userspace/units/therm/nvgpu-therm.c +++ b/userspace/units/therm/nvgpu-therm.c @@ -87,6 +87,8 @@ int test_setup_env(struct unit_module *m, (void)nvgpu_posix_register_io(g, &test_reg_callbacks); /* setup HALs */ + + g->ops.therm.therm_max_fpdiv_factor = gv11b_therm_max_fpdiv_factor; g->ops.therm.init_therm_support = nvgpu_init_therm_support; g->ops.therm.init_therm_setup_hw = gv11b_init_therm_setup_hw; g->ops.therm.init_elcg_mode = gv11b_therm_init_elcg_mode;