/dragonfly/sys/dev/drm/amd/powerplay/inc/ |
H A D | hwmgr.h | 35 struct pp_hwmgr; 189 int (*smu_init)(struct pp_hwmgr *hwmgr); 190 int (*smu_fini)(struct pp_hwmgr *hwmgr); 191 int (*start_smu)(struct pp_hwmgr *hwmgr); 219 int (*stop_smc)(struct pp_hwmgr *hwmgr); 225 int (*asic_setup)(struct pp_hwmgr *hw_mgr); 238 struct pp_hwmgr *hw_mgr); 240 struct pp_hwmgr *hw_mgr); 339 struct pp_hwmgr *hwmgr, 705 struct pp_hwmgr { struct [all …]
|
H A D | smumgr.h | 83 extern uint32_t smum_get_argument(struct pp_hwmgr *hwmgr); 87 extern int smum_upload_powerplay_table(struct pp_hwmgr *hwmgr); 94 extern int smum_update_sclk_threshold(struct pp_hwmgr *hwmgr); 97 extern int smum_process_firmware_header(struct pp_hwmgr *hwmgr); 98 extern int smum_thermal_avfs_enable(struct pp_hwmgr *hwmgr); 99 extern int smum_thermal_setup_fan_table(struct pp_hwmgr *hwmgr); 100 extern int smum_init_smc_table(struct pp_hwmgr *hwmgr); 104 extern uint32_t smum_get_offsetof(struct pp_hwmgr *hwmgr, 108 extern bool smum_is_dpm_running(struct pp_hwmgr *hwmgr); 110 extern bool smum_is_hw_avfs_present(struct pp_hwmgr *hwmgr); [all …]
|
H A D | hardwaremanager.h | 28 struct pp_hwmgr; 399 extern int phm_powerdown_uvd(struct pp_hwmgr *hwmgr); 400 extern int phm_setup_asic(struct pp_hwmgr *hwmgr); 403 extern bool phm_is_hw_access_blocked(struct pp_hwmgr *hwmgr); 405 extern int phm_set_power_state(struct pp_hwmgr *hwmgr, 409 extern int phm_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, 419 extern int phm_register_irq_handlers(struct pp_hwmgr *hwmgr); 424 extern int phm_check_states_equal(struct pp_hwmgr *hwmgr, 432 extern int phm_get_dal_power_level(struct pp_hwmgr *hwmgr, 435 extern int phm_set_cpu_power_state(struct pp_hwmgr *hwmgr); [all …]
|
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/ |
H A D | smu7_smumgr.h | 60 int smu7_program_jump_on_start(struct pp_hwmgr *hwmgr); 61 bool smu7_is_smc_ram_running(struct pp_hwmgr *hwmgr); 62 int smu7_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg); 68 int smu7_send_msg_to_smc_offset(struct pp_hwmgr *hwmgr); 71 int smu7_read_smc_sram_dword(struct pp_hwmgr *hwmgr, uint32_t smc_addr, 76 int smu7_request_smu_load_fw(struct pp_hwmgr *hwmgr); 78 int smu7_reload_firmware(struct pp_hwmgr *hwmgr); 79 int smu7_upload_smu_firmware_image(struct pp_hwmgr *hwmgr); 80 int smu7_init(struct pp_hwmgr *hwmgr); 81 int smu7_smu_fini(struct pp_hwmgr *hwmgr); [all …]
|
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 | smu9_smumgr.c | 38 bool smu9_is_smc_ram_running(struct pp_hwmgr *hwmgr); 39 bool smu9_is_smc_ram_running(struct pp_hwmgr *hwmgr) in smu9_is_smc_ram_running() 61 static uint32_t smu9_wait_for_response(struct pp_hwmgr *hwmgr) in smu9_wait_for_response() 84 static int smu9_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, in smu9_send_msg_to_smc_without_waiting() 100 int smu9_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg); 101 int smu9_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in smu9_send_msg_to_smc() 126 int smu9_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, 128 int smu9_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, in smu9_send_msg_to_smc_with_parameter() 149 uint32_t smu9_get_argument(struct pp_hwmgr *hwmgr); 150 uint32_t smu9_get_argument(struct pp_hwmgr *hwmgr) in smu9_get_argument()
|
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 | 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 …]
|
/dragonfly/sys/dev/drm/amd/powerplay/hwmgr/ |
H A D | smu7_thermal.h | 41 extern int smu7_thermal_get_temperature(struct pp_hwmgr *hwmgr); 42 extern int smu7_thermal_stop_thermal_controller(struct pp_hwmgr *hwmgr); 45 extern int smu7_fan_ctrl_set_default_mode(struct pp_hwmgr *hwmgr); 46 extern int smu7_fan_ctrl_set_static_mode(struct pp_hwmgr *hwmgr, uint32_t mode); 48 extern int smu7_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr); 50 extern int smu7_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t speed); 51 extern int smu7_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t *speed); 52 extern int smu7_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr); 53 extern int smu7_thermal_disable_alert(struct pp_hwmgr *hwmgr); 54 extern int smu7_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr); [all …]
|
H A D | vega10_thermal.h | 53 extern int vega10_thermal_get_temperature(struct pp_hwmgr *hwmgr); 55 extern int vega10_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, 57 extern int vega10_fan_ctrl_get_fan_speed_percent(struct pp_hwmgr *hwmgr, 59 extern int vega10_fan_ctrl_set_default_mode(struct pp_hwmgr *hwmgr); 60 extern int vega10_fan_ctrl_set_static_mode(struct pp_hwmgr *hwmgr, 62 extern int vega10_fan_ctrl_set_fan_speed_percent(struct pp_hwmgr *hwmgr, 66 struct pp_hwmgr *hwmgr); 67 extern int vega10_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, 69 extern int vega10_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, 72 extern int vega10_thermal_disable_alert(struct pp_hwmgr *hwmgr); [all …]
|
H A D | ppatomctrl.h | 293 extern uint32_t atomctrl_get_mpll_reference_clock(struct pp_hwmgr *hwmgr); 298 extern uint32_t atomctrl_get_reference_clock(struct pp_hwmgr *hwmgr); 304 extern int atomctrl_get_memory_pll_dividers_vi(struct pp_hwmgr *hwmgr, 306 extern int atomctrl_get_memory_pll_dividers_ai(struct pp_hwmgr *hwmgr, 308 extern int atomctrl_get_engine_pll_dividers_kong(struct pp_hwmgr *hwmgr, 311 extern int atomctrl_read_efuse(struct pp_hwmgr *hwmgr, uint16_t start_index, 316 extern int atomctrl_set_ac_timing_ai(struct pp_hwmgr *hwmgr, uint32_t memory_clock, 318 extern int atomctrl_get_voltage_evv_on_sclk_ai(struct pp_hwmgr *hwmgr, uint8_t voltage_type, 324 extern int atomctrl_get_svi2_info(struct pp_hwmgr *hwmgr, uint8_t voltage_type, 328 extern int atomctrl_get_leakage_vddc_base_on_leakage(struct pp_hwmgr *hwmgr, [all …]
|
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_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() 256 int vega12_thermal_setup_fan_table(struct pp_hwmgr *hwmgr); 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_powertune.h | 69 void vega10_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr); 70 int vega10_populate_bapm_parameters_in_dpm_table(struct pp_hwmgr *hwmgr); 71 int vega10_populate_pm_fuses(struct pp_hwmgr *hwmgr); 72 int vega10_enable_smc_cac(struct pp_hwmgr *hwmgr); 73 int vega10_enable_power_containment(struct pp_hwmgr *hwmgr); 74 int vega10_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n); 75 int vega10_power_control_set_level(struct pp_hwmgr *hwmgr); 76 int vega10_disable_power_containment(struct pp_hwmgr *hwmgr); 78 int vega10_enable_didt_config(struct pp_hwmgr *hwmgr); 79 int vega10_disable_didt_config(struct pp_hwmgr *hwmgr);
|
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 | hwmgr.c | 50 extern int vega10_hwmgr_init(struct pp_hwmgr *hwmgr); 51 extern int vega12_hwmgr_init(struct pp_hwmgr *hwmgr); 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() [all …]
|
H A D | vega12_thermal.h | 52 extern int vega12_thermal_get_temperature(struct pp_hwmgr *hwmgr); 53 extern int vega12_thermal_stop_thermal_controller(struct pp_hwmgr *hwmgr); 54 extern int vega12_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, 56 extern int vega12_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr); 57 extern int vega12_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, 59 extern int vega12_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr); 60 extern int vega12_thermal_disable_alert(struct pp_hwmgr *hwmgr); 61 extern int vega12_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr); 62 extern int vega12_start_thermal_controller(struct pp_hwmgr *hwmgr,
|
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 | 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() 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() 504 int vega10_thermal_setup_fan_table(struct pp_hwmgr *hwmgr); 505 int vega10_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) in vega10_thermal_setup_fan_table() [all …]
|
H A D | smu7_powertune.h | 53 int smu7_enable_smc_cac(struct pp_hwmgr *hwmgr); 54 int smu7_disable_smc_cac(struct pp_hwmgr *hwmgr); 55 int smu7_enable_power_containment(struct pp_hwmgr *hwmgr); 56 int smu7_disable_power_containment(struct pp_hwmgr *hwmgr); 57 int smu7_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n); 58 int smu7_power_control_set_level(struct pp_hwmgr *hwmgr); 59 int smu7_enable_didt_config(struct pp_hwmgr *hwmgr); 60 int smu7_disable_didt_config(struct pp_hwmgr *hwmgr);
|
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 | smu7_clockpowergating.h | 29 void smu7_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate); 30 void smu7_powergate_uvd(struct pp_hwmgr *hwmgr, bool bgate); 31 int smu7_powerdown_uvd(struct pp_hwmgr *hwmgr); 32 int smu7_powergate_acp(struct pp_hwmgr *hwmgr, bool bgate); 33 int smu7_disable_clock_power_gating(struct pp_hwmgr *hwmgr); 34 int smu7_update_clock_gatings(struct pp_hwmgr *hwmgr, 36 int smu7_powergate_gfx(struct pp_hwmgr *hwmgr, bool enable);
|
H A D | vega12_hwmgr.c | 50 static int vega12_force_clock_level(struct pp_hwmgr *hwmgr, 52 static int vega12_get_clock_ranges(struct pp_hwmgr *hwmgr, 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() 2239 static int vega12_get_sclk_od(struct pp_hwmgr *hwmgr) 2260 static int vega12_get_mclk_od(struct pp_hwmgr *hwmgr) 2410 int vega12_hwmgr_init(struct pp_hwmgr *hwmgr); [all …]
|
H A D | pp_psm.h | 29 int psm_init_power_state_table(struct pp_hwmgr *hwmgr); 30 int psm_fini_power_state_table(struct pp_hwmgr *hwmgr); 31 int psm_set_boot_states(struct pp_hwmgr *hwmgr); 32 int psm_set_performance_states(struct pp_hwmgr *hwmgr); 33 int psm_set_user_performance_state(struct pp_hwmgr *hwmgr, 36 int psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr,
|
/dragonfly/sys/dev/drm/amd/powerplay/ |
H A D | amd_powerplay.c | 40 struct pp_hwmgr *hwmgr; in amd_powerplay_create() 288 struct pp_hwmgr *hwmgr = handle; in pp_set_clockgating_by_smu() 340 struct pp_hwmgr *hwmgr = handle; in pp_dpm_force_performance_level() 360 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_performance_level() 374 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_sclk() 392 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_mclk() 410 struct pp_hwmgr *hwmgr = handle; in pp_dpm_powergate_vce() 426 struct pp_hwmgr *hwmgr = handle; in pp_dpm_powergate_uvd() 444 struct pp_hwmgr *hwmgr = handle; in pp_dpm_dispatch_tasks() 458 struct pp_hwmgr *hwmgr = handle; in pp_dpm_get_current_power_state() [all …]
|