/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_baco.c | 36 bool smu7_baco_get_capability(struct pp_hwmgr *hwmgr) argument 52 int smu7_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) argument 67 int smu7_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument [all...] |
H A D | smu9_baco.c | 31 bool smu9_baco_get_capability(struct pp_hwmgr *hwmgr) argument 52 int smu9_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) argument
|
H A D | vega20_powertune.c | 32 int vega20_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n) argument 45 int vega20_validate_power_level_request(struct pp_hwmgr *hwmgr, argument 51 static int vega20_set_overdrive_target_percentage(struct pp_hwmgr *hwmgr, argument 59 int vega20_power_control_set_level(struct pp_hwmgr *hwmgr) argument [all...] |
H A D | vega12_baco.c | 82 int vega12_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument
|
H A D | vega10_baco.c | 84 int vega10_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument
|
H A D | ci_baco.c | 155 int ci_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument
|
H A D | polaris_baco.c | 171 int polaris_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument [all...] |
H A D | fiji_baco.c | 153 int fiji_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument [all...] |
H A D | common_baco.c | 27 static bool baco_wait_register(struct pp_hwmgr *hwmgr, u32 reg, u32 mask, u32 value) argument 44 static bool baco_cmd_handler(struct pp_hwmgr *hwmgr, u32 command, u32 reg, u32 mask, argument 82 bool baco_program_registers(struct pp_hwmgr *hwmgr, argument 101 bool soc15_baco_program_registers(struct pp_hwmgr *hwmgr, argument [all...] |
H A D | tonga_baco.c | 175 int tonga_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument [all...] |
H A D | vega20_baco.c | 39 bool vega20_baco_get_capability(struct pp_hwmgr *hwmgr) argument 57 int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) argument 72 int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument 111 vega20_baco_apply_vdci_flush_workaround(struct pp_hwmgr *hwmgr) argument [all...] |
H A D | smu7_clockpowergating.c | 28 static int smu7_enable_disable_uvd_dpm(struct pp_hwmgr *hwmgr, bool enable) argument 36 static int smu7_enable_disable_vce_dpm(struct pp_hwmgr *hwmgr, bool enable) argument 44 static int smu7_update_uvd_dpm(struct pp_hwmgr *hwmgr, bool bgate) argument 51 static int smu7_update_vce_dpm(struct pp_hwmgr *hwmgr, bool bgate) argument 58 smu7_powerdown_uvd(struct pp_hwmgr *hwmgr) argument 67 smu7_powerup_uvd(struct pp_hwmgr *hwmgr) argument 83 smu7_powerdown_vce(struct pp_hwmgr *hwmgr) argument 92 smu7_powerup_vce(struct pp_hwmgr *hwmgr) argument 101 smu7_disable_clock_power_gating(struct pp_hwmgr *hwmgr) argument 114 smu7_powergate_uvd(struct pp_hwmgr *hwmgr, bool bgate) argument 142 smu7_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate) argument 169 smu7_update_clock_gatings(struct pp_hwmgr *hwmgr, const uint32_t *msg_id) argument 424 smu7_powergate_gfx(struct pp_hwmgr *hwmgr, bool enable) argument [all...] |
H A D | pp_psm.c | 29 int psm_init_power_state_table(struct pp_hwmgr *hwmgr) argument 103 psm_fini_power_state_table(struct pp_hwmgr *hwmgr) argument 120 psm_get_ui_state(struct pp_hwmgr *hwmgr, enum PP_StateUILabel ui_label, unsigned long *state_id) argument 141 psm_get_state_by_classification(struct pp_hwmgr *hwmgr, enum PP_StateClassificationFlag flag, unsigned long *state_id) argument 162 psm_set_states(struct pp_hwmgr *hwmgr, unsigned long state_id) argument 182 psm_set_boot_states(struct pp_hwmgr *hwmgr) argument 197 psm_set_performance_states(struct pp_hwmgr *hwmgr) argument 212 psm_set_user_performance_state(struct pp_hwmgr *hwmgr, enum PP_StateUILabel label_id, struct pp_power_state **state) argument 243 power_state_management(struct pp_hwmgr *hwmgr, struct pp_power_state *new_ps) argument 268 psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr, bool skip_display_settings, struct pp_power_state *new_ps) argument [all...] |
H A D | vega12_processpptables.c | 34 static void set_hw_cap(struct pp_hwmgr *hwmgr, bool enable, argument 43 static const void *get_powerplay_table(struct pp_hwmgr *hwmgr) argument 76 static int set_platform_caps(struct pp_hwmgr *hwmgr, uint32_ argument 63 check_powerplay_tables( struct pp_hwmgr *hwmgr, const ATOM_Vega12_POWERPLAYTABLE *powerplay_table) argument 101 append_vbios_pptable(struct pp_hwmgr *hwmgr, PPTable_t *ppsmc_pptable) argument 190 init_powerplay_table_information( struct pp_hwmgr *hwmgr, const ATOM_Vega12_POWERPLAYTABLE *powerplay_table) argument 261 vega12_pp_tables_initialize(struct pp_hwmgr *hwmgr) argument 290 vega12_pp_tables_uninitialize(struct pp_hwmgr *hwmgr) argument [all...] |
H A D | hwmgr.c | 61 static void hwmgr_init_workload_prority(struct pp_hwmgr *hwmgr) argument 78 hwmgr_early_init(struct pp_hwmgr *hwmgr) argument 196 hwmgr_sw_init(struct pp_hwmgr *hwmgr) argument 208 hwmgr_sw_fini(struct pp_hwmgr *hwmgr) argument 216 hwmgr_hw_init(struct pp_hwmgr *hwmgr) argument 279 hwmgr_hw_fini(struct pp_hwmgr *hwmgr) argument 297 hwmgr_suspend(struct pp_hwmgr *hwmgr) argument 316 hwmgr_resume(struct pp_hwmgr *hwmgr) argument 357 hwmgr_handle_task(struct pp_hwmgr *hwmgr, enum amd_pp_task task_id, enum amd_pm_state_type *user_state) argument 409 hwmgr_init_default_caps(struct pp_hwmgr *hwmgr) argument 441 hwmgr_set_user_specify_caps(struct pp_hwmgr *hwmgr) argument 468 polaris_set_asic_special_caps(struct pp_hwmgr *hwmgr) argument 501 fiji_set_asic_special_caps(struct pp_hwmgr *hwmgr) argument 516 tonga_set_asic_special_caps(struct pp_hwmgr *hwmgr) argument 536 topaz_set_asic_special_caps(struct pp_hwmgr *hwmgr) argument 551 ci_set_asic_special_caps(struct pp_hwmgr *hwmgr) argument [all...] |
H A D | vega20_processpptables.c | 36 static void set_hw_cap(struct pp_hwmgr *hwmgr, bool enable, argument 45 static const void *get_powerplay_table(struct pp_hwmgr *hwmgr) argument 660 static int set_platform_caps(struct pp_hwmgr *hwmgr, uint32_ argument 637 check_powerplay_tables( struct pp_hwmgr *hwmgr, const ATOM_Vega20_POWERPLAYTABLE *powerplay_table) argument 685 copy_overdrive_feature_capabilities_array( struct pp_hwmgr *hwmgr, uint8_t **pptable_info_array, const uint8_t *pptable_array, uint8_t od_feature_count) argument 715 append_vbios_pptable(struct pp_hwmgr *hwmgr, PPTable_t *ppsmc_pptable) argument 802 override_powerplay_table_fantargettemperature(struct pp_hwmgr *hwmgr) argument 814 init_powerplay_table_information( struct pp_hwmgr *hwmgr, const ATOM_Vega20_POWERPLAYTABLE *powerplay_table) argument 908 vega20_pp_tables_initialize(struct pp_hwmgr *hwmgr) argument 937 vega20_pp_tables_uninitialize(struct pp_hwmgr *hwmgr) argument [all...] |
H A D | vega12_thermal.c | 32 static int vega12_get_current_rpm(struct pp_hwmgr *hwmgr, uint32_t *current_rpm) argument 43 int vega12_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, argument 55 int vega12_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t *speed) argument 68 static int vega12_enable_fan_control_feature(struct pp_hwmgr *hwmgr) argument 86 static int vega12_disable_fan_control_feature(struct pp_hwmgr *hwmgr) argument 104 vega12_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr) argument 118 vega12_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr) argument 135 vega12_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr) argument 145 vega12_thermal_get_temperature(struct pp_hwmgr *hwmgr) argument 170 vega12_thermal_set_temperature_range(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range) argument 209 vega12_thermal_enable_alert(struct pp_hwmgr *hwmgr) argument 227 vega12_thermal_disable_alert(struct pp_hwmgr *hwmgr) argument 241 vega12_thermal_stop_thermal_controller(struct pp_hwmgr *hwmgr) argument 252 vega12_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) argument 271 vega12_thermal_start_smc_fan_control(struct pp_hwmgr *hwmgr) argument 285 vega12_start_thermal_controller(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range) argument [all...] |
H A D | smu7_thermal.c | 29 int smu7_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, argument 54 int smu7_fan_ctrl_get_fan_speed_pwm(struct pp_hwmgr *hwmgr, argument 80 int smu7_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_ argument 108 smu7_fan_ctrl_set_static_mode(struct pp_hwmgr *hwmgr, uint32_t mode) argument 133 smu7_fan_ctrl_set_default_mode(struct pp_hwmgr *hwmgr) argument 146 smu7_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr) argument 192 smu7_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr) argument 203 smu7_fan_ctrl_set_fan_speed_pwm(struct pp_hwmgr *hwmgr, uint32_t speed) argument 239 smu7_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr) argument 262 smu7_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t speed) argument 293 smu7_thermal_get_temperature(struct pp_hwmgr *hwmgr) argument 319 smu7_thermal_set_temperature_range(struct pp_hwmgr *hwmgr, int low_temp, int high_temp) argument 353 smu7_thermal_initialize(struct pp_hwmgr *hwmgr) argument 372 smu7_thermal_enable_alert(struct pp_hwmgr *hwmgr) argument 390 smu7_thermal_disable_alert(struct pp_hwmgr *hwmgr) argument 409 smu7_thermal_stop_thermal_controller(struct pp_hwmgr *hwmgr) argument 424 smu7_thermal_start_smc_fan_control(struct pp_hwmgr *hwmgr) argument 439 smu7_start_thermal_controller(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range) argument 468 smu7_thermal_ctrl_uninitialize_thermal_controller(struct pp_hwmgr *hwmgr) argument [all...] |
H A D | vega20_thermal.c | 32 static int vega20_disable_fan_control_feature(struct pp_hwmgr *hwmgr) argument 51 int vega20_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr) argument 61 static int vega20_enable_fan_control_feature(struct pp_hwmgr *hwmgr) argument 80 int vega20_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr) argument 90 vega20_fan_ctrl_set_static_mode(struct pp_hwmgr *hwmgr, uint32_t mode) argument 104 vega20_get_current_rpm(struct pp_hwmgr *hwmgr, uint32_t *current_rpm) argument 117 vega20_fan_ctrl_get_fan_speed_pwm(struct pp_hwmgr *hwmgr, uint32_t *speed) argument 139 vega20_fan_ctrl_set_fan_speed_pwm(struct pp_hwmgr *hwmgr, uint32_t speed) argument 169 vega20_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, struct phm_fan_speed_info *fan_speed_info) argument 181 vega20_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t *speed) argument 188 vega20_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t speed) argument 218 vega20_thermal_get_temperature(struct pp_hwmgr *hwmgr) argument 241 vega20_thermal_set_temperature_range(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range) argument 280 vega20_thermal_enable_alert(struct pp_hwmgr *hwmgr) argument 298 vega20_thermal_disable_alert(struct pp_hwmgr *hwmgr) argument 312 vega20_thermal_stop_thermal_controller(struct pp_hwmgr *hwmgr) argument 323 vega20_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) argument 337 vega20_start_thermal_controller(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range) argument [all...] |
/linux-master/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | smu9_smumgr.c | 39 bool smu9_is_smc_ram_running(struct pp_hwmgr *hwmgr) argument 59 static uint32_t smu9_wait_for_response(struct pp_hwmgr *hwmgr) argument 93 static int smu9_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, argument 113 smu9_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) argument 141 smu9_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t parameter) argument 166 smu9_get_argument(struct pp_hwmgr *hwmgr) argument [all...] |
H A D | vega12_smumgr.c | 40 static int vega12_copy_table_from_smc(struct pp_hwmgr *hwmgr, argument 84 static int vega12_copy_table_to_smc(struct pp_hwmgr *hwmgr, argument 125 vega12_enable_smc_features(struct pp_hwmgr *hwmgr, bool enable, uint64_t feature_mask) argument 156 vega12_get_enabled_smc_features(struct pp_hwmgr *hwmgr, uint64_t *features_enabled) argument 182 vega12_is_dpm_running(struct pp_hwmgr *hwmgr) argument 194 vega12_set_tools_address(struct pp_hwmgr *hwmgr) argument 212 vega12_smu_init(struct pp_hwmgr *hwmgr) argument 347 vega12_smu_fini(struct pp_hwmgr *hwmgr) argument 378 vega12_start_smu(struct pp_hwmgr *hwmgr) argument 389 vega12_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw) argument [all...] |
H A D | smumgr.c | 57 int smum_thermal_avfs_enable(struct pp_hwmgr *hwmgr) argument 65 int smum_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) argument 73 int smum_update_sclk_threshold(struct pp_hwmgr *hwmgr) argument 82 smum_update_smc_table(struct pp_hwmgr *hwmgr, uint32_t type) argument 91 smum_get_offsetof(struct pp_hwmgr *hwmgr, uint32_t type, uint32_t member) argument 99 smum_process_firmware_header(struct pp_hwmgr *hwmgr) argument 106 smum_get_mac_definition(struct pp_hwmgr *hwmgr, uint32_t value) argument 114 smum_download_powerplay_table(struct pp_hwmgr *hwmgr, void **table) argument 122 smum_upload_powerplay_table(struct pp_hwmgr *hwmgr) argument 130 smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t *resp) argument 155 smum_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t parameter, uint32_t *resp) argument 184 smum_init_smc_table(struct pp_hwmgr *hwmgr) argument 192 smum_populate_all_graphic_levels(struct pp_hwmgr *hwmgr) argument 200 smum_populate_all_memory_levels(struct pp_hwmgr *hwmgr) argument 209 smum_initialize_mc_reg_table(struct pp_hwmgr *hwmgr) argument 217 smum_is_dpm_running(struct pp_hwmgr *hwmgr) argument 225 smum_is_hw_avfs_present(struct pp_hwmgr *hwmgr) argument 233 smum_update_dpm_settings(struct pp_hwmgr *hwmgr, void *profile_setting) argument 241 smum_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw) argument 249 smum_stop_smc(struct pp_hwmgr *hwmgr) argument [all...] |
H A D | vega10_smumgr.c | 38 static int vega10_copy_table_from_smc(struct pp_hwmgr *hwmgr, argument 71 static int vega10_copy_table_to_smc(struct pp_hwmgr *hwmgr, argument 111 vega10_enable_smc_features(struct pp_hwmgr *hwmgr, bool enable, uint32_t feature_mask) argument 129 vega10_get_enabled_smc_features(struct pp_hwmgr *hwmgr, uint64_t *features_enabled) argument 145 vega10_is_dpm_running(struct pp_hwmgr *hwmgr) argument 157 vega10_set_tools_address(struct pp_hwmgr *hwmgr) argument 174 vega10_verify_smc_interface(struct pp_hwmgr *hwmgr) argument 204 vega10_smu_init(struct pp_hwmgr *hwmgr) argument 328 vega10_smu_fini(struct pp_hwmgr *hwmgr) argument 355 vega10_start_smu(struct pp_hwmgr *hwmgr) argument 369 vega10_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw) argument [all...] |
H A D | smu10_smumgr.c | 49 static uint32_t smu10_wait_for_response(struct pp_hwmgr *hwmgr) argument 62 static int smu10_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, argument 72 static uint32_t smu10_read_arg_from_smc(struct pp_hwmgr *hwmgr) argument 79 static int smu10_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) argument 96 smu10_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t parameter) argument 116 smu10_copy_table_from_smc(struct pp_hwmgr *hwmgr, uint8_t *table, int16_t table_id) argument 150 smu10_copy_table_to_smc(struct pp_hwmgr *hwmgr, uint8_t *table, int16_t table_id) argument 185 smu10_verify_smc_interface(struct pp_hwmgr *hwmgr) argument 202 smu10_smu_fini(struct pp_hwmgr *hwmgr) argument 221 smu10_start_smu(struct pp_hwmgr *hwmgr) argument 239 smu10_smu_init(struct pp_hwmgr *hwmgr) argument 292 smu10_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, uint16_t table_id, bool rw) argument [all...] |
H A D | smu7_smumgr.c | 38 static int smu7_set_smc_sram_address(struct pp_hwmgr *hwmgr, uint32_t smc_addr, uint32_t limit) argument 49 int smu7_copy_bytes_from_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, uint32_t *dest, uint32_t byte_count, uint32_t limit) argument 85 int smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, argument 151 smu7_program_jump_on_start(struct pp_hwmgr *hwmgr) argument 160 smu7_is_smc_ram_running(struct pp_hwmgr *hwmgr) argument 166 smu7_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) argument 197 smu7_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t parameter) argument 206 smu7_get_argument(struct pp_hwmgr *hwmgr) argument 211 smu7_send_msg_to_smc_offset(struct pp_hwmgr *hwmgr) argument 265 smu7_read_smc_sram_dword(struct pp_hwmgr *hwmgr, uint32_t smc_addr, uint32_t *value, uint32_t limit) argument 276 smu7_write_smc_sram_dword(struct pp_hwmgr *hwmgr, uint32_t smc_addr, uint32_t value, uint32_t limit) argument 290 smu7_populate_single_firmware_entry(struct pp_hwmgr *hwmgr, uint32_t fw_type, struct SMU_Entry *entry) argument 325 smu7_request_smu_load_fw(struct pp_hwmgr *hwmgr) argument 437 smu7_check_fw_load_finish(struct pp_hwmgr *hwmgr, uint32_t fw_type) argument 449 smu7_reload_firmware(struct pp_hwmgr *hwmgr) argument 454 smu7_upload_smc_firmware_data(struct pp_hwmgr *hwmgr, uint32_t length, uint32_t *src, uint32_t limit) argument 474 smu7_upload_smu_firmware_image(struct pp_hwmgr *hwmgr) argument 495 execute_pwr_table(struct pp_hwmgr *hwmgr, const PWR_Command_Table *pvirus, int size) argument 511 execute_pwr_dfy_table(struct pp_hwmgr *hwmgr, const PWR_DFY_Section *section) argument 522 smu7_setup_pwr_virus(struct pp_hwmgr *hwmgr) argument 536 smu7_init(struct pp_hwmgr *hwmgr) argument 585 smu7_smu_fini(struct pp_hwmgr *hwmgr) argument [all...] |