Home
last modified time | relevance | path

Searched refs:hwmgr_func (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dhardwaremanager.c35 if ((hw) == NULL || (hw)->hwmgr_func == NULL) \
43 if (NULL != hwmgr->hwmgr_func->asic_setup) in phm_setup_asic()
44 return hwmgr->hwmgr_func->asic_setup(hwmgr); in phm_setup_asic()
53 if (NULL != hwmgr->hwmgr_func->power_off_asic) in phm_power_down_asic()
54 return hwmgr->hwmgr_func->power_off_asic(hwmgr); in phm_power_down_asic()
70 if (NULL != hwmgr->hwmgr_func->power_state_set) in phm_set_power_state()
71 return hwmgr->hwmgr_func->power_state_set(hwmgr, &states); in phm_set_power_state()
91 if (NULL != hwmgr->hwmgr_func->dynamic_state_management_enable) in phm_enable_dynamic_state_management()
92 ret = hwmgr->hwmgr_func->dynamic_state_management_enable(hwmgr); in phm_enable_dynamic_state_management()
111 if (hwmgr->hwmgr_func->dynamic_state_management_disable) in phm_disable_dynamic_state_management()
[all …]
Dpp_psm.c37 if (hwmgr->hwmgr_func->get_num_of_pp_table_entries == NULL) in psm_init_power_state_table()
40 if (hwmgr->hwmgr_func->get_power_state_size == NULL) in psm_init_power_state_table()
43 hwmgr->num_ps = table_entries = hwmgr->hwmgr_func->get_num_of_pp_table_entries(hwmgr); in psm_init_power_state_table()
45 hwmgr->ps_size = size = hwmgr->hwmgr_func->get_power_state_size(hwmgr) + in psm_init_power_state_table()
76 result = hwmgr->hwmgr_func->get_pp_table_entry(hwmgr, i, state); in psm_init_power_state_table()
299 if (hwmgr->power_profile_mode != workload && hwmgr->hwmgr_func->set_power_profile_mode) in psm_adjust_power_state_dynamic()
300 hwmgr->hwmgr_func->set_power_profile_mode(hwmgr, &workload, 0); in psm_adjust_power_state_dynamic()
Dhwmgr.c228 !hwmgr->hwmgr_func->backend_init) { in hwmgr_hw_init()
241 ret = hwmgr->hwmgr_func->backend_init(hwmgr); in hwmgr_hw_init()
270 if (hwmgr->hwmgr_func->backend_fini) in hwmgr_hw_init()
271 hwmgr->hwmgr_func->backend_fini(hwmgr); in hwmgr_hw_init()
290 if (hwmgr->hwmgr_func->backend_fini) in hwmgr_hw_fini()
291 hwmgr->hwmgr_func->backend_fini(hwmgr); in hwmgr_hw_fini()
Dsmu7_thermal.c155 hwmgr->hwmgr_func->set_max_fan_rpm_output(hwmgr, in smu7_fan_ctrl_start_smc_fan_control()
159 hwmgr->hwmgr_func->set_max_fan_pwm_output(hwmgr, in smu7_fan_ctrl_start_smc_fan_control()
Dvega12_processpptables.c394 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware));
Dsmu10_hwmgr.c1661 hwmgr->hwmgr_func = &smu10_hwmgr_funcs; in smu10_init_function_pointers()
Dvega10_processpptables.c1337 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware)); in vega10_get_powerplay_table_entry()
Dprocess_pptables_v1_0.c1408 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware)); in get_powerplay_table_entry_v1_0()
Dprocesspptables.c966 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(ps->hardware)); in pp_tables_get_entry()
Dsmu8_hwmgr.c2054 hwmgr->hwmgr_func = &smu8_hwmgr_funcs; in smu8_init_function_pointers()
Dvega12_hwmgr.c2955 hwmgr->hwmgr_func = &vega12_hwmgr_funcs; in vega12_hwmgr_init()
Dvega20_hwmgr.c4432 hwmgr->hwmgr_func = &vega20_hwmgr_funcs; in vega20_hwmgr_init()
Dvega10_hwmgr.c5747 hwmgr->hwmgr_func = &vega10_hwmgr_funcs; in vega10_hwmgr_init()
Dsmu7_hwmgr.c5759 hwmgr->hwmgr_func = &smu7_hwmgr_funcs; in smu7_init_function_pointers()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c160 if (hwmgr->hwmgr_func->notify_cac_buffer_info) in pp_reserve_vram_for_smu()
161 r = hwmgr->hwmgr_func->notify_cac_buffer_info(hwmgr, in pp_reserve_vram_for_smu()
301 if (hwmgr->hwmgr_func->update_clock_gatings == NULL) { in pp_set_clockgating_by_smu()
306 return hwmgr->hwmgr_func->update_clock_gatings(hwmgr, &msg_id); in pp_set_clockgating_by_smu()
369 if (hwmgr->hwmgr_func->get_sclk == NULL) { in pp_dpm_get_sclk()
373 return hwmgr->hwmgr_func->get_sclk(hwmgr, low); in pp_dpm_get_sclk()
383 if (hwmgr->hwmgr_func->get_mclk == NULL) { in pp_dpm_get_mclk()
387 return hwmgr->hwmgr_func->get_mclk(hwmgr, low); in pp_dpm_get_mclk()
397 if (hwmgr->hwmgr_func->powergate_vce == NULL) { in pp_dpm_powergate_vce()
401 hwmgr->hwmgr_func->powergate_vce(hwmgr, gate); in pp_dpm_powergate_vce()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h780 const struct pp_hwmgr_func *hwmgr_func; member