/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/ |
H A D | hardwaremanager.c | 39 int phm_setup_asic(struct pp_hwmgr *hwmgr) in phm_setup_asic() 49 int phm_power_down_asic(struct pp_hwmgr *hwmgr) in phm_power_down_asic() 59 int phm_set_power_state(struct pp_hwmgr *hwmgr, in phm_set_power_state() 123 int phm_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, in phm_apply_state_adjust_rules() 137 int phm_apply_clock_adjust_rules(struct pp_hwmgr *hwmgr) in phm_apply_clock_adjust_rules() 146 int phm_powerdown_uvd(struct pp_hwmgr *hwmgr) in phm_powerdown_uvd() 206 int phm_stop_thermal_controller(struct pp_hwmgr *hwmgr) in phm_stop_thermal_controller() 216 int phm_register_irq_handlers(struct pp_hwmgr *hwmgr) in phm_register_irq_handlers() 265 int phm_check_states_equal(struct pp_hwmgr *hwmgr, in phm_check_states_equal() 315 int phm_get_dal_power_level(struct pp_hwmgr *hwmgr, in phm_get_dal_power_level() [all …]
|
H A D | vega12_hwmgr.c | 444 static int vega12_setup_asic_task(struct pp_hwmgr *hwmgr) in vega12_setup_asic_task() 718 static int vega12_init_smc_table(struct pp_hwmgr *hwmgr) in vega12_init_smc_table() 848 struct pp_hwmgr *hwmgr) in vega12_odn_initialize_default_settings() 1260 struct pp_hwmgr *hwmgr, in vega12_get_current_activity_percent() 1386 struct pp_hwmgr *hwmgr) in vega12_notify_smc_display_config_after_ps_adjustment() 1624 static int vega12_get_sclks(struct pp_hwmgr *hwmgr, in vega12_get_sclks() 1657 static int vega12_get_memclocks(struct pp_hwmgr *hwmgr, in vega12_get_memclocks() 1684 static int vega12_get_dcefclocks(struct pp_hwmgr *hwmgr, in vega12_get_dcefclocks() 1712 static int vega12_get_socclocks(struct pp_hwmgr *hwmgr, in vega12_get_socclocks() 2191 static int vega12_power_off_asic(struct pp_hwmgr *hwmgr) in vega12_power_off_asic() [all …]
|
H A D | smu10_hwmgr.c | 140 struct pp_hwmgr *hwmgr) in smu10_init_dynamic_state_adjustment_rule_settings() 264 static int smu10_setup_asic_task(struct pp_hwmgr *hwmgr) in smu10_setup_asic_task() 269 static int smu10_reset_cc6_data(struct pp_hwmgr *hwmgr) in smu10_reset_cc6_data() 281 static int smu10_power_off_asic(struct pp_hwmgr *hwmgr) in smu10_power_off_asic() 286 static bool smu10_is_gfx_on(struct pp_hwmgr *hwmgr) in smu10_is_gfx_on() 299 static int smu10_disable_gfx_off(struct pp_hwmgr *hwmgr) in smu10_disable_gfx_off() 314 static int smu10_disable_dpm_tasks(struct pp_hwmgr *hwmgr) in smu10_disable_dpm_tasks() 319 static int smu10_enable_gfx_off(struct pp_hwmgr *hwmgr) in smu10_enable_gfx_off() 329 static int smu10_enable_dpm_tasks(struct pp_hwmgr *hwmgr) in smu10_enable_dpm_tasks() 716 struct pp_hwmgr *hwmgr, in smu10_dpm_get_pp_table_entry_callback() [all …]
|
H A D | smu8_hwmgr.c | 68 static uint32_t smu8_get_eclk_level(struct pp_hwmgr *hwmgr, in smu8_get_eclk_level() 249 struct pp_hwmgr *hwmgr, uint16_t voltage) in smu8_convert_8Bit_index_to_voltage() 272 struct pp_hwmgr *hwmgr, in smu8_init_dynamic_state_adjustment_rule_settings() 580 static int smu8_init_uvd_limit(struct pp_hwmgr *hwmgr) in smu8_init_uvd_limit() 607 static int smu8_init_vce_limit(struct pp_hwmgr *hwmgr) in smu8_init_vce_limit() 634 static int smu8_init_acp_limit(struct pp_hwmgr *hwmgr) in smu8_init_acp_limit() 801 static int smu8_disable_nb_dpm(struct pp_hwmgr *hwmgr) in smu8_disable_nb_dpm() 822 static int smu8_enable_nb_dpm(struct pp_hwmgr *hwmgr) in smu8_enable_nb_dpm() 953 static int smu8_start_dpm(struct pp_hwmgr *hwmgr) in smu8_start_dpm() 964 static int smu8_stop_dpm(struct pp_hwmgr *hwmgr) in smu8_stop_dpm() [all …]
|
H A D | hwmgr.c | 78 int hwmgr_early_init(struct pp_hwmgr *hwmgr) in hwmgr_early_init() 183 int hwmgr_sw_init(struct pp_hwmgr *hwmgr) in hwmgr_sw_init() 194 int hwmgr_sw_fini(struct pp_hwmgr *hwmgr) in hwmgr_sw_fini() 202 int hwmgr_hw_init(struct pp_hwmgr *hwmgr) in hwmgr_hw_init() 273 int hwmgr_hw_fini(struct pp_hwmgr *hwmgr) in hwmgr_hw_fini() 291 int hwmgr_suspend(struct pp_hwmgr *hwmgr) in hwmgr_suspend() 310 int hwmgr_resume(struct pp_hwmgr *hwmgr) in hwmgr_resume() 406 void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr) in hwmgr_init_default_caps() 438 int hwmgr_set_user_specify_caps(struct pp_hwmgr *hwmgr) in hwmgr_set_user_specify_caps() 492 int fiji_set_asic_special_caps(struct pp_hwmgr *hwmgr) in fiji_set_asic_special_caps() [all …]
|
H A D | smu7_hwmgr.c | 361 struct pp_hwmgr *hwmgr) in smu7_program_static_screen_threshold_parameters() 991 static int smu7_enable_ulv(struct pp_hwmgr *hwmgr) in smu7_enable_ulv() 1136 static int smu7_start_dpm(struct pp_hwmgr *hwmgr) in smu7_start_dpm() 1211 static int smu7_stop_dpm(struct pp_hwmgr *hwmgr) in smu7_stop_dpm() 1481 int smu7_disable_dpm_tasks(struct pp_hwmgr *hwmgr) in smu7_disable_dpm_tasks() 1547 int smu7_reset_asic_tasks(struct pp_hwmgr *hwmgr) in smu7_reset_asic_tasks() 1847 struct pp_hwmgr *hwmgr) in smu7_patch_voltage_dependency_tables_with_lookup_table() 3664 struct pp_hwmgr *hwmgr, const void *input) in smu7_request_link_speed_change_before_state_change() 3745 struct pp_hwmgr *hwmgr, const void *input) in smu7_populate_and_upload_sclk_mclk_dpm_levels() 3839 struct pp_hwmgr *hwmgr, const void *input) in smu7_generate_dpm_level_enable_mask() [all …]
|
H A D | smu7_thermal.c | 29 int smu7_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, in smu7_fan_ctrl_get_fan_speed_info() 54 int smu7_fan_ctrl_get_fan_speed_percent(struct pp_hwmgr *hwmgr, in smu7_fan_ctrl_get_fan_speed_percent() 136 int smu7_fan_ctrl_set_default_mode(struct pp_hwmgr *hwmgr) in smu7_fan_ctrl_set_default_mode() 149 int smu7_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr) in smu7_fan_ctrl_start_smc_fan_control() 183 int smu7_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr) in smu7_fan_ctrl_stop_smc_fan_control() 195 int smu7_fan_ctrl_set_fan_speed_percent(struct pp_hwmgr *hwmgr, in smu7_fan_ctrl_set_fan_speed_percent() 285 int smu7_thermal_get_temperature(struct pp_hwmgr *hwmgr) in smu7_thermal_get_temperature() 344 static int smu7_thermal_initialize(struct pp_hwmgr *hwmgr) in smu7_thermal_initialize() 363 static void smu7_thermal_enable_alert(struct pp_hwmgr *hwmgr) in smu7_thermal_enable_alert() 381 int smu7_thermal_disable_alert(struct pp_hwmgr *hwmgr) in smu7_thermal_disable_alert() [all …]
|
H A D | vega10_thermal.c | 38 int vega10_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, in vega10_fan_ctrl_get_fan_speed_info() 67 int vega10_fan_ctrl_get_fan_speed_percent(struct pp_hwmgr *hwmgr, in vega10_fan_ctrl_get_fan_speed_percent() 156 int vega10_fan_ctrl_set_default_mode(struct pp_hwmgr *hwmgr) in vega10_fan_ctrl_set_default_mode() 216 int vega10_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr) in vega10_fan_ctrl_start_smc_fan_control() 229 int vega10_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr) in vega10_fan_ctrl_stop_smc_fan_control() 337 int vega10_thermal_get_temperature(struct pp_hwmgr *hwmgr) in vega10_thermal_get_temperature() 403 static int vega10_thermal_initialize(struct pp_hwmgr *hwmgr) in vega10_thermal_initialize() 426 static int vega10_thermal_enable_alert(struct pp_hwmgr *hwmgr) in vega10_thermal_enable_alert() 457 int vega10_thermal_disable_alert(struct pp_hwmgr *hwmgr) in vega10_thermal_disable_alert() 505 int vega10_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) in vega10_thermal_setup_fan_table() [all …]
|
H A D | vega12_thermal.c | 43 int vega12_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, in vega12_fan_ctrl_get_fan_speed_info() 69 static int vega12_enable_fan_control_feature(struct pp_hwmgr *hwmgr) in vega12_enable_fan_control_feature() 105 int vega12_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr) in vega12_fan_ctrl_start_smc_fan_control() 119 int vega12_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr) in vega12_fan_ctrl_stop_smc_fan_control() 146 int vega12_thermal_get_temperature(struct pp_hwmgr *hwmgr) in vega12_thermal_get_temperature() 208 static int vega12_thermal_enable_alert(struct pp_hwmgr *hwmgr) in vega12_thermal_enable_alert() 226 int vega12_thermal_disable_alert(struct pp_hwmgr *hwmgr) in vega12_thermal_disable_alert() 240 int vega12_thermal_stop_thermal_controller(struct pp_hwmgr *hwmgr) in vega12_thermal_stop_thermal_controller() 257 int vega12_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) in vega12_thermal_setup_fan_table() 280 int vega12_thermal_start_smc_fan_control(struct pp_hwmgr *hwmgr) in vega12_thermal_start_smc_fan_control() [all …]
|
H A D | vega10_hwmgr.c | 635 struct pp_hwmgr *hwmgr) in vega10_patch_voltage_dependency_tables_with_lookup_table() 1106 struct pp_hwmgr *hwmgr, in vega10_trim_voltage_table_to_fit_state_table() 2260 static int vega10_acg_enable(struct pp_hwmgr *hwmgr) in vega10_acg_enable() 2292 static int vega10_acg_disable(struct pp_hwmgr *hwmgr) in vega10_acg_disable() 2687 static int vega10_enable_ulv(struct pp_hwmgr *hwmgr) in vega10_enable_ulv() 3262 struct pp_hwmgr *hwmgr, const void *input) in vega10_populate_and_upload_sclk_mclk_dpm_levels() 3404 struct pp_hwmgr *hwmgr) in vega10_apply_dal_minimum_voltage_request() 3491 struct pp_hwmgr *hwmgr, const void *input) in vega10_generate_dpm_level_enable_mask() 3803 struct pp_hwmgr *hwmgr) in vega10_notify_smc_display_config_after_ps_adjustment() 4082 static void vega10_get_sclks(struct pp_hwmgr *hwmgr, in vega10_get_sclks() [all …]
|
H A D | smu7_clockpowergating.c | 42 static int smu7_update_uvd_dpm(struct pp_hwmgr *hwmgr, bool bgate) in smu7_update_uvd_dpm() 49 static int smu7_update_vce_dpm(struct pp_hwmgr *hwmgr, bool bgate) in smu7_update_vce_dpm() 56 int smu7_powerdown_uvd(struct pp_hwmgr *hwmgr) in smu7_powerdown_uvd() 64 static int smu7_powerup_uvd(struct pp_hwmgr *hwmgr) in smu7_powerup_uvd() 80 static int smu7_powerdown_vce(struct pp_hwmgr *hwmgr) in smu7_powerdown_vce() 88 static int smu7_powerup_vce(struct pp_hwmgr *hwmgr) in smu7_powerup_vce() 96 int smu7_disable_clock_power_gating(struct pp_hwmgr *hwmgr) in smu7_disable_clock_power_gating() 109 void smu7_powergate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in smu7_powergate_uvd() 137 void smu7_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate) in smu7_powergate_vce() 164 int smu7_update_clock_gatings(struct pp_hwmgr *hwmgr, in smu7_update_clock_gatings() [all …]
|
H A D | processpptables.c | 139 struct pp_hwmgr *hwmgr, in get_vce_state_table() 202 struct pp_hwmgr *hwmgr, in get_uvd_clock_voltage_limit_table_offset() 239 struct pp_hwmgr *hwmgr, in get_samu_clock_voltage_limit_table_offset() 275 struct pp_hwmgr *hwmgr, in get_acp_clock_voltage_limit_table_offset() 287 struct pp_hwmgr *hwmgr, in get_cacp_tdp_table_offset() 363 struct pp_hwmgr *hwmgr, in get_sclk_vdd_gfx_clock_voltage_dependency_table_offset() 621 struct pp_hwmgr *hwmgr, in make_classification_flags() 828 struct pp_hwmgr *hwmgr) in get_powerplay_table() 974 struct pp_hwmgr *hwmgr, in init_powerplay_tables() 983 struct pp_hwmgr *hwmgr, in init_thermal_controller() [all …]
|
H A D | vega10_powertune.c | 986 static int vega10_enable_psm_gc_didt_config(struct pp_hwmgr *hwmgr) in vega10_enable_psm_gc_didt_config() 1047 static int vega10_enable_se_edc_config(struct pp_hwmgr *hwmgr) in vega10_enable_se_edc_config() 1081 static int vega10_disable_se_edc_config(struct pp_hwmgr *hwmgr) in vega10_disable_se_edc_config() 1094 static int vega10_enable_psm_gc_edc_config(struct pp_hwmgr *hwmgr) in vega10_enable_psm_gc_edc_config() 1194 int vega10_enable_didt_config(struct pp_hwmgr *hwmgr) in vega10_enable_didt_config() 1241 int vega10_disable_didt_config(struct pp_hwmgr *hwmgr) in vega10_disable_didt_config() 1288 void vega10_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr) in vega10_initialize_power_tune_defaults() 1327 int vega10_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n) in vega10_set_power_limit() 1338 int vega10_enable_power_containment(struct pp_hwmgr *hwmgr) in vega10_enable_power_containment() 1371 int vega10_disable_power_containment(struct pp_hwmgr *hwmgr) in vega10_disable_power_containment() [all …]
|
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/ |
H A D | smumgr.c | 53 int smum_thermal_avfs_enable(struct pp_hwmgr *hwmgr) in smum_thermal_avfs_enable() 61 int smum_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) in smum_thermal_setup_fan_table() 69 int smum_update_sclk_threshold(struct pp_hwmgr *hwmgr) in smum_update_sclk_threshold() 95 int smum_process_firmware_header(struct pp_hwmgr *hwmgr) in smum_process_firmware_header() 102 uint32_t smum_get_argument(struct pp_hwmgr *hwmgr) in smum_get_argument() 126 int smum_upload_powerplay_table(struct pp_hwmgr *hwmgr) in smum_upload_powerplay_table() 152 int smum_init_smc_table(struct pp_hwmgr *hwmgr) in smum_init_smc_table() 177 int smum_initialize_mc_reg_table(struct pp_hwmgr *hwmgr) in smum_initialize_mc_reg_table() 185 bool smum_is_dpm_running(struct pp_hwmgr *hwmgr) in smum_is_dpm_running() 193 bool smum_is_hw_avfs_present(struct pp_hwmgr *hwmgr) in smum_is_hw_avfs_present() [all …]
|
H A D | smu8_smumgr.c | 55 static uint32_t smu8_get_argument(struct pp_hwmgr *hwmgr) in smu8_get_argument() 97 static int smu8_set_smc_sram_address(struct pp_hwmgr *hwmgr, in smu8_set_smc_sram_address() 119 static int smu8_write_smc_sram_dword(struct pp_hwmgr *hwmgr, in smu8_write_smc_sram_dword() 173 static int smu8_load_mec_firmware(struct pp_hwmgr *hwmgr) in smu8_load_mec_firmware() 328 struct pp_hwmgr *hwmgr, in smu8_smu_populate_single_scratch_task() 365 struct pp_hwmgr *hwmgr, in smu8_smu_populate_single_ucode_load_task() 582 struct pp_hwmgr *hwmgr, in smu8_smu_populate_single_scratch_entry() 697 static int smu8_start_smu(struct pp_hwmgr *hwmgr) in smu8_start_smu() 740 static int smu8_smu_init(struct pp_hwmgr *hwmgr) in smu8_smu_init() 833 static int smu8_smu_fini(struct pp_hwmgr *hwmgr) in smu8_smu_fini() [all …]
|
H A D | smu7_smumgr.c | 151 int smu7_program_jump_on_start(struct pp_hwmgr *hwmgr) in smu7_program_jump_on_start() 160 bool smu7_is_smc_ram_running(struct pp_hwmgr *hwmgr) in smu7_is_smc_ram_running() 166 int smu7_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in smu7_send_msg_to_smc() 217 int smu7_send_msg_to_smc_offset(struct pp_hwmgr *hwmgr) in smu7_send_msg_to_smc_offset() 343 static int smu7_populate_single_firmware_entry(struct pp_hwmgr *hwmgr, in smu7_populate_single_firmware_entry() 378 int smu7_request_smu_load_fw(struct pp_hwmgr *hwmgr) in smu7_request_smu_load_fw() 495 int smu7_reload_firmware(struct pp_hwmgr *hwmgr) in smu7_reload_firmware() 520 int smu7_upload_smu_firmware_image(struct pp_hwmgr *hwmgr) in smu7_upload_smu_firmware_image() 568 int smu7_setup_pwr_virus(struct pp_hwmgr *hwmgr) in smu7_setup_pwr_virus() 582 int smu7_init(struct pp_hwmgr *hwmgr) in smu7_init() [all …]
|
H A D | smu10_smumgr.c | 48 static uint32_t smu10_wait_for_response(struct pp_hwmgr *hwmgr) in smu10_wait_for_response() 71 static uint32_t smu10_read_arg_from_smc(struct pp_hwmgr *hwmgr) in smu10_read_arg_from_smc() 115 static int smu10_copy_table_from_smc(struct pp_hwmgr *hwmgr, in smu10_copy_table_from_smc() 143 static int smu10_copy_table_to_smc(struct pp_hwmgr *hwmgr, in smu10_copy_table_to_smc() 189 static void smu10_smc_enable_sdma(struct pp_hwmgr *hwmgr) in smu10_smc_enable_sdma() 195 static void smu10_smc_disable_sdma(struct pp_hwmgr *hwmgr) in smu10_smc_disable_sdma() 202 static void smu10_smc_enable_vcn(struct pp_hwmgr *hwmgr) in smu10_smc_enable_vcn() 208 static void smu10_smc_disable_vcn(struct pp_hwmgr *hwmgr) in smu10_smc_disable_vcn() 214 static int smu10_smu_fini(struct pp_hwmgr *hwmgr) in smu10_smu_fini() 235 static int smu10_start_smu(struct pp_hwmgr *hwmgr) in smu10_start_smu() [all …]
|
H A D | iceland_smumgr.c | 108 static int iceland_start_smc(struct pp_hwmgr *hwmgr) in iceland_start_smc() 116 static void iceland_reset_smc(struct pp_hwmgr *hwmgr) in iceland_reset_smc() 124 static void iceland_stop_smc_clock(struct pp_hwmgr *hwmgr) in iceland_stop_smc_clock() 131 static void iceland_start_smc_clock(struct pp_hwmgr *hwmgr) in iceland_start_smc_clock() 138 static int iceland_smu_start_smc(struct pp_hwmgr *hwmgr) in iceland_smu_start_smc() 233 static int iceland_start_smu(struct pp_hwmgr *hwmgr) in iceland_start_smu() 260 static int iceland_smu_init(struct pp_hwmgr *hwmgr) in iceland_smu_init() 359 static int iceland_populate_gnb_lpml(struct pp_hwmgr *hwmgr) in iceland_populate_gnb_lpml() 1045 struct pp_hwmgr *hwmgr, in iceland_calculate_mclk_params() 1228 struct pp_hwmgr *hwmgr, in iceland_populate_single_memory_level() [all …]
|
H A D | ci_smumgr.c | 186 bool ci_is_smc_ram_running(struct pp_hwmgr *hwmgr) in ci_is_smc_ram_running() 1022 struct pp_hwmgr *hwmgr, in ci_calculate_mclk_params() 1173 struct pp_hwmgr *hwmgr, in ci_populate_single_memory_level() 1619 struct pp_hwmgr *hwmgr, in ci_populate_memory_timing_parameters() 1760 struct pp_hwmgr *hwmgr, in ci_convert_mc_reg_table_entry_to_smc() 1892 static int ci_start_smc(struct pp_hwmgr *hwmgr) in ci_start_smc() 2730 static int ci_smu_init(struct pp_hwmgr *hwmgr) in ci_smu_init() 2744 static int ci_smu_fini(struct pp_hwmgr *hwmgr) in ci_smu_fini() 2751 static int ci_start_smu(struct pp_hwmgr *hwmgr) in ci_start_smu() 2935 static void ci_reset_smc(struct pp_hwmgr *hwmgr) in ci_reset_smc() [all …]
|
H A D | fiji_smumgr.c | 200 static int fiji_start_avfs_btc(struct pp_hwmgr *hwmgr) in fiji_start_avfs_btc() 261 static int fiji_avfs_event_mgr(struct pp_hwmgr *hwmgr) in fiji_avfs_event_mgr() 282 static int fiji_start_smu(struct pp_hwmgr *hwmgr) in fiji_start_smu() 328 static bool fiji_is_hw_avfs_present(struct pp_hwmgr *hwmgr) in fiji_is_hw_avfs_present() 345 static int fiji_smu_init(struct pp_hwmgr *hwmgr) in fiji_smu_init() 594 static int fiji_populate_tdc_limit(struct pp_hwmgr *hwmgr) in fiji_populate_tdc_limit() 651 static int fiji_populate_fuzzy_fan(struct pp_hwmgr *hwmgr) in fiji_populate_fuzzy_fan() 669 static int fiji_populate_gnb_lpml(struct pp_hwmgr *hwmgr) in fiji_populate_gnb_lpml() 701 static int fiji_populate_pm_fuses(struct pp_hwmgr *hwmgr) in fiji_populate_pm_fuses() 1932 static int fiji_init_smc_table(struct pp_hwmgr *hwmgr) in fiji_init_smc_table() [all …]
|
H A D | vegam_smumgr.c | 83 static int vegam_smu_init(struct pp_hwmgr *hwmgr) in vegam_smu_init() 193 static int vegam_start_smu(struct pp_hwmgr *hwmgr) in vegam_start_smu() 297 static bool vegam_is_dpm_running(struct pp_hwmgr *hwmgr) in vegam_is_dpm_running() 332 static int vegam_update_uvd_smc_table(struct pp_hwmgr *hwmgr) in vegam_update_uvd_smc_table() 500 static int vegam_populate_cac_table(struct pp_hwmgr *hwmgr, in vegam_populate_cac_table() 539 static int vegam_populate_ulv_level(struct pp_hwmgr *hwmgr, in vegam_populate_ulv_level() 562 static int vegam_populate_ulv_state(struct pp_hwmgr *hwmgr, in vegam_populate_ulv_state() 1821 static int vegam_populate_gnb_lpml(struct pp_hwmgr *hwmgr) in vegam_populate_gnb_lpml() 1853 static int vegam_populate_pm_fuses(struct pp_hwmgr *hwmgr) in vegam_populate_pm_fuses() 1925 static int vegam_init_smc_table(struct pp_hwmgr *hwmgr) in vegam_init_smc_table() [all …]
|
H A D | polaris10_smumgr.c | 95 static int polaris10_perform_btc(struct pp_hwmgr *hwmgr) in polaris10_perform_btc() 173 static int polaris10_avfs_event_mgr(struct pp_hwmgr *hwmgr) in polaris10_avfs_event_mgr() 290 static int polaris10_start_smu(struct pp_hwmgr *hwmgr) in polaris10_start_smu() 333 static int polaris10_smu_init(struct pp_hwmgr *hwmgr) in polaris10_smu_init() 484 static int polaris10_populate_tdc_limit(struct pp_hwmgr *hwmgr) in polaris10_populate_tdc_limit() 538 static int polaris10_populate_fuzzy_fan(struct pp_hwmgr *hwmgr) in polaris10_populate_fuzzy_fan() 553 static int polaris10_populate_gnb_lpml(struct pp_hwmgr *hwmgr) in polaris10_populate_gnb_lpml() 585 static int polaris10_populate_pm_fuses(struct pp_hwmgr *hwmgr) in polaris10_populate_pm_fuses() 1764 static int polaris10_init_smc_table(struct pp_hwmgr *hwmgr) in polaris10_init_smc_table() 1989 int polaris10_thermal_avfs_enable(struct pp_hwmgr *hwmgr) in polaris10_thermal_avfs_enable() [all …]
|
H A D | tonga_smumgr.c | 193 static int tonga_start_smu(struct pp_hwmgr *hwmgr) in tonga_start_smu() 217 static int tonga_smu_init(struct pp_hwmgr *hwmgr) in tonga_smu_init() 381 static int tonga_populate_cac_tables(struct pp_hwmgr *hwmgr, in tonga_populate_cac_tables() 469 static int tonga_populate_ulv_level(struct pp_hwmgr *hwmgr, in tonga_populate_ulv_level() 491 static int tonga_populate_ulv_state(struct pp_hwmgr *hwmgr, in tonga_populate_ulv_state() 778 struct pp_hwmgr *hwmgr, in tonga_calculate_mclk_params() 950 struct pp_hwmgr *hwmgr, in tonga_populate_single_memory_level() 1448 struct pp_hwmgr *hwmgr, in tonga_populate_memory_timing_parameters() 2097 struct pp_hwmgr *hwmgr, in tonga_convert_mc_reg_table_entry_to_smc() 2210 static int tonga_init_smc_table(struct pp_hwmgr *hwmgr) in tonga_init_smc_table() [all …]
|
H A D | vega10_smumgr.c | 36 static int vega10_copy_table_from_smc(struct pp_hwmgr *hwmgr, in vega10_copy_table_from_smc() 63 static int vega10_copy_table_to_smc(struct pp_hwmgr *hwmgr, in vega10_copy_table_to_smc() 91 static int vega10_get_smc_features(struct pp_hwmgr *hwmgr, in vega10_get_smc_features() 103 static bool vega10_is_dpm_running(struct pp_hwmgr *hwmgr) in vega10_is_dpm_running() 115 static int vega10_set_tools_address(struct pp_hwmgr *hwmgr) in vega10_set_tools_address() 130 static int vega10_verify_smc_interface(struct pp_hwmgr *hwmgr) in vega10_verify_smc_interface() 160 static int vega10_smu_init(struct pp_hwmgr *hwmgr) in vega10_smu_init() 284 static int vega10_smu_fini(struct pp_hwmgr *hwmgr) in vega10_smu_fini() 311 static int vega10_start_smu(struct pp_hwmgr *hwmgr) in vega10_start_smu() 325 static int vega10_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, in vega10_smc_table_manager()
|
/dragonfly/sys/dev/drm/amd/powerplay/ |
H A D | amd_powerplay.c | 40 struct pp_hwmgr *hwmgr; in amd_powerplay_create() local 288 struct pp_hwmgr *hwmgr = handle; in pp_set_clockgating_by_smu() local 340 struct pp_hwmgr *hwmgr = handle; in pp_dpm_force_performance_level() local 360 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_performance_level() local 374 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_sclk() local 392 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_mclk() local 410 struct pp_hwmgr *hwmgr = handle; in pp_dpm_powergate_vce() local 426 struct pp_hwmgr *hwmgr = handle; in pp_dpm_powergate_uvd() local 444 struct pp_hwmgr *hwmgr = handle; in pp_dpm_dispatch_tasks() local 458 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_current_power_state() local [all …]
|