mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
nvgpu: userspace: update therm unit init
Update therm unit testcase: test_setup_env to include assignment of hal function: therm_max_fpdiv_factor. Jira: NVGPU-4860 Change-Id: I644191cdd4d4538d0c189af9cb80cea3d6368820 Signed-off-by: Antony Clince Alex <aalex@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2317074 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: automaticguardword <automaticguardword@nvidia.com> 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: Lakshmanan M <lm@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Alex Waterman
parent
da8ee8d615
commit
fa6cf4598e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user