Searched refs:hwmgr_func (Results 1 – 17 of 17) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | hardwaremanager.c | 35 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() 90 if (NULL != hwmgr->hwmgr_func->dynamic_state_management_enable) in phm_enable_dynamic_state_management() 91 ret = hwmgr->hwmgr_func->dynamic_state_management_enable(hwmgr); in phm_enable_dynamic_state_management() 110 if (hwmgr->hwmgr_func->dynamic_state_management_disable) in phm_disable_dynamic_state_management() [all …]
|
D | pp_psm.c | 37 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() 290 if (hwmgr->power_profile_mode != workload && hwmgr->hwmgr_func->set_power_profile_mode) in psm_adjust_power_state_dynamic() 291 hwmgr->hwmgr_func->set_power_profile_mode(hwmgr, &workload, 0); in psm_adjust_power_state_dynamic()
|
D | hwmgr.c | 232 !hwmgr->hwmgr_func->backend_init) { in hwmgr_hw_init() 245 ret = hwmgr->hwmgr_func->backend_init(hwmgr); in hwmgr_hw_init() 274 if (hwmgr->hwmgr_func->backend_fini) in hwmgr_hw_init() 275 hwmgr->hwmgr_func->backend_fini(hwmgr); in hwmgr_hw_init() 294 if (hwmgr->hwmgr_func->backend_fini) in hwmgr_hw_fini() 295 hwmgr->hwmgr_func->backend_fini(hwmgr); in hwmgr_hw_fini()
|
D | smu7_thermal.c | 158 hwmgr->hwmgr_func->set_max_fan_rpm_output(hwmgr, in smu7_fan_ctrl_start_smc_fan_control() 162 hwmgr->hwmgr_func->set_max_fan_pwm_output(hwmgr, in smu7_fan_ctrl_start_smc_fan_control()
|
D | vega12_processpptables.c | 398 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware));
|
D | process_pptables_v1_0.c | 1326 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware)); in get_powerplay_table_entry_v1_0()
|
D | smu10_hwmgr.c | 1488 hwmgr->hwmgr_func = &smu10_hwmgr_funcs; in smu10_init_function_pointers()
|
D | vega10_processpptables.c | 1371 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(power_state->hardware)); in vega10_get_powerplay_table_entry()
|
D | processpptables.c | 970 result = hwmgr->hwmgr_func->patch_boot_state(hwmgr, &(ps->hardware)); in pp_tables_get_entry()
|
D | smu8_hwmgr.c | 2046 hwmgr->hwmgr_func = &smu8_hwmgr_funcs; in smu8_init_function_pointers()
|
D | vega12_hwmgr.c | 2954 hwmgr->hwmgr_func = &vega12_hwmgr_funcs; in vega12_hwmgr_init()
|
D | vega20_hwmgr.c | 4437 hwmgr->hwmgr_func = &vega20_hwmgr_funcs; in vega20_hwmgr_init()
|
D | vega10_hwmgr.c | 5589 hwmgr->hwmgr_func = &vega10_hwmgr_funcs; in vega10_hwmgr_init()
|
D | smu7_hwmgr.c | 5365 hwmgr->hwmgr_func = &smu7_hwmgr_funcs; in smu7_init_function_pointers()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
D | amd_powerplay.c | 160 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() 304 if (hwmgr->hwmgr_func->update_clock_gatings == NULL) { in pp_set_clockgating_by_smu() 309 return hwmgr->hwmgr_func->update_clock_gatings(hwmgr, &msg_id); in pp_set_clockgating_by_smu() 391 if (hwmgr->hwmgr_func->get_sclk == NULL) { in pp_dpm_get_sclk() 396 clk = hwmgr->hwmgr_func->get_sclk(hwmgr, low); in pp_dpm_get_sclk() 409 if (hwmgr->hwmgr_func->get_mclk == NULL) { in pp_dpm_get_mclk() 414 clk = hwmgr->hwmgr_func->get_mclk(hwmgr, low); in pp_dpm_get_mclk() 426 if (hwmgr->hwmgr_func->powergate_vce == NULL) { in pp_dpm_powergate_vce() 431 hwmgr->hwmgr_func->powergate_vce(hwmgr, gate); in pp_dpm_powergate_vce() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 1619 if (hwmgr && hwmgr->hwmgr_func && in amdgpu_dpm_enable_uvd() 1620 hwmgr->hwmgr_func->update_nbdpm_pstate) in amdgpu_dpm_enable_uvd() 1621 hwmgr->hwmgr_func->update_nbdpm_pstate(hwmgr, in amdgpu_dpm_enable_uvd()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/ |
D | hwmgr.h | 780 const struct pp_hwmgr_func *hwmgr_func; member
|