| /src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/ |
| H A D | amdgpu_smu7_baco.c | 41 int smu7_baco_get_capability(struct pp_hwmgr *hwmgr, bool *cap) argument 58 int smu7_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) argument 73 int smu7_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument [all...] |
| H A D | amdgpu_smu9_baco.c | 36 int smu9_baco_get_capability(struct pp_hwmgr *hwmgr, bool *cap) argument 58 int smu9_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) argument
|
| H A D | amdgpu_vega10_baco.c | 93 int vega10_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument
|
| H A D | amdgpu_vega12_baco.c | 91 int vega12_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument
|
| H A D | amdgpu_vega20_powertune.c | 37 int vega20_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n) argument 49 int vega20_validate_power_level_request(struct pp_hwmgr *hwmgr, argument 55 static int vega20_set_overdrive_target_percentage(struct pp_hwmgr *hwmgr, argument 62 int vega20_power_control_set_level(struct pp_hwmgr *hwmgr) argument [all...] |
| H A D | amdgpu_ci_baco.c | 166 int ci_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument
|
| H A D | amdgpu_common_baco.c | 32 static bool baco_wait_register(struct pp_hwmgr *hwmgr, u32 reg, u32 mask, u32 value) argument 49 static bool baco_cmd_handler(struct pp_hwmgr *hwmgr, u32 command, u32 reg, u32 mask, argument 87 bool baco_program_registers(struct pp_hwmgr *hwmgr, argument 106 bool soc15_baco_program_registers(struct pp_hwmgr *hwmgr, argument [all...] |
| H A D | amdgpu_fiji_baco.c | 166 int fiji_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument [all...] |
| H A D | amdgpu_polaris_baco.c | 186 int polaris_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument [all...] |
| H A D | amdgpu_tonga_baco.c | 190 int tonga_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument [all...] |
| H A D | amdgpu_vega20_baco.c | 45 int vega20_baco_get_capability(struct pp_hwmgr *hwmgr, bool *cap) argument 64 int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) argument 79 int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) argument 118 vega20_baco_apply_vdci_flush_workaround(struct pp_hwmgr * hwmgr) argument [all...] |
| H A D | amdgpu_hwmgr.c | 71 hwmgr_init_workload_prority(struct pp_hwmgr * hwmgr) argument 88 hwmgr_early_init(struct pp_hwmgr * hwmgr) argument 206 hwmgr_sw_init(struct pp_hwmgr * hwmgr) argument 218 hwmgr_sw_fini(struct pp_hwmgr * hwmgr) argument 226 hwmgr_hw_init(struct pp_hwmgr * hwmgr) argument 289 hwmgr_hw_fini(struct pp_hwmgr * hwmgr) argument 307 hwmgr_suspend(struct pp_hwmgr * hwmgr) argument 326 hwmgr_resume(struct pp_hwmgr * hwmgr) argument 367 hwmgr_handle_task(struct pp_hwmgr * hwmgr,enum amd_pp_task task_id,enum amd_pm_state_type * user_state) argument 419 hwmgr_init_default_caps(struct pp_hwmgr * hwmgr) argument 451 hwmgr_set_user_specify_caps(struct pp_hwmgr * hwmgr) argument 478 polaris_set_asic_special_caps(struct pp_hwmgr * hwmgr) argument 505 fiji_set_asic_special_caps(struct pp_hwmgr * hwmgr) argument 520 tonga_set_asic_special_caps(struct pp_hwmgr * hwmgr) argument 540 topaz_set_asic_special_caps(struct pp_hwmgr * hwmgr) argument 555 ci_set_asic_special_caps(struct pp_hwmgr * hwmgr) argument [all...] |
| H A D | amdgpu_pp_psm.c | 34 int psm_init_power_state_table(struct pp_hwmgr *hwmgr) argument 99 psm_fini_power_state_table(struct pp_hwmgr * hwmgr) argument 116 psm_get_ui_state(struct pp_hwmgr * hwmgr,enum PP_StateUILabel ui_label,unsigned long * state_id) argument 137 psm_get_state_by_classification(struct pp_hwmgr * hwmgr,enum PP_StateClassificationFlag flag,unsigned long * state_id) argument 158 psm_set_states(struct pp_hwmgr * hwmgr,unsigned long state_id) argument 178 psm_set_boot_states(struct pp_hwmgr * hwmgr) argument 193 psm_set_performance_states(struct pp_hwmgr * hwmgr) argument 208 psm_set_user_performance_state(struct pp_hwmgr * hwmgr,enum PP_StateUILabel label_id,struct pp_power_state ** state) argument 239 power_state_management(struct pp_hwmgr * hwmgr,struct pp_power_state * new_ps) argument 264 psm_adjust_power_state_dynamic(struct pp_hwmgr * hwmgr,bool skip_display_settings,struct pp_power_state * new_ps) argument [all...] |
| H A D | amdgpu_smu7_clockpowergating.c | 33 static int smu7_enable_disable_uvd_dpm(struct pp_hwmgr *hwmgr, bool enable) argument 40 static int smu7_enable_disable_vce_dpm(struct pp_hwmgr *hwmgr, bool enable) argument 47 static int smu7_update_uvd_dpm(struct pp_hwmgr *hwmgr, bool bgate) argument 54 static int smu7_update_vce_dpm(struct pp_hwmgr *hwmgr, bool bgate) argument 61 smu7_powerdown_uvd(struct pp_hwmgr * hwmgr) argument 69 smu7_powerup_uvd(struct pp_hwmgr * hwmgr) argument 85 smu7_powerdown_vce(struct pp_hwmgr * hwmgr) argument 93 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 | amdgpu_vega12_processpptables.c | 40 static void set_hw_cap(struct pp_hwmgr *hwmgr, bool enable, argument 49 static const void *get_powerplay_table(struct pp_hwmgr *hwmgr) argument 82 static int set_platform_caps(struct pp_hwmgr *hwmgr, uint32_ argument 69 check_powerplay_tables(struct pp_hwmgr * hwmgr,const ATOM_Vega12_POWERPLAYTABLE * powerplay_table) argument 107 append_vbios_pptable(struct pp_hwmgr * hwmgr,PPTable_t * ppsmc_pptable) argument 196 init_powerplay_table_information(struct pp_hwmgr * hwmgr,const ATOM_Vega12_POWERPLAYTABLE * powerplay_table) argument 271 vega12_pp_tables_initialize(struct pp_hwmgr * hwmgr) argument 300 vega12_pp_tables_uninitialize(struct pp_hwmgr * hwmgr) argument [all...] |
| H A D | amdgpu_smu7_thermal.c | 34 int smu7_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, argument 59 int smu7_fan_ctrl_get_fan_speed_percent(struct pp_hwmgr *hwmgr, argument 88 int smu7_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_ argument 116 smu7_fan_ctrl_set_static_mode(struct pp_hwmgr * hwmgr,uint32_t mode) argument 141 smu7_fan_ctrl_set_default_mode(struct pp_hwmgr * hwmgr) argument 154 smu7_fan_ctrl_start_smc_fan_control(struct pp_hwmgr * hwmgr) argument 188 smu7_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr * hwmgr) argument 200 smu7_fan_ctrl_set_fan_speed_percent(struct pp_hwmgr * hwmgr,uint32_t speed) argument 237 smu7_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr * hwmgr) argument 260 smu7_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr * hwmgr,uint32_t speed) argument 291 smu7_thermal_get_temperature(struct pp_hwmgr * hwmgr) argument 316 smu7_thermal_set_temperature_range(struct pp_hwmgr * hwmgr,int low_temp,int high_temp) argument 350 smu7_thermal_initialize(struct pp_hwmgr * hwmgr) argument 369 smu7_thermal_enable_alert(struct pp_hwmgr * hwmgr) argument 387 smu7_thermal_disable_alert(struct pp_hwmgr * hwmgr) argument 406 smu7_thermal_stop_thermal_controller(struct pp_hwmgr * hwmgr) argument 425 smu7_thermal_start_smc_fan_control(struct pp_hwmgr * hwmgr) argument 440 smu7_start_thermal_controller(struct pp_hwmgr * hwmgr,struct PP_TemperatureRange * range) argument 469 smu7_thermal_ctrl_uninitialize_thermal_controller(struct pp_hwmgr * hwmgr) argument [all...] |
| H A D | amdgpu_vega12_thermal.c | 37 static int vega12_get_current_rpm(struct pp_hwmgr *hwmgr, uint32_t *current_rpm) argument 48 int vega12_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, argument 60 int vega12_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t *speed) argument 74 static int vega12_enable_fan_control_feature(struct pp_hwmgr *hwmgr) argument 92 vega12_disable_fan_control_feature(struct pp_hwmgr * hwmgr) argument 110 vega12_fan_ctrl_start_smc_fan_control(struct pp_hwmgr * hwmgr) argument 124 vega12_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr * hwmgr) argument 141 vega12_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr * hwmgr) argument 151 vega12_thermal_get_temperature(struct pp_hwmgr * hwmgr) argument 175 vega12_thermal_set_temperature_range(struct pp_hwmgr * hwmgr,struct PP_TemperatureRange * range) argument 211 vega12_thermal_enable_alert(struct pp_hwmgr * hwmgr) argument 229 vega12_thermal_disable_alert(struct pp_hwmgr * hwmgr) argument 243 vega12_thermal_stop_thermal_controller(struct pp_hwmgr * hwmgr) argument 259 vega12_thermal_setup_fan_table(struct pp_hwmgr * hwmgr) argument 281 vega12_thermal_start_smc_fan_control(struct pp_hwmgr * hwmgr) argument 295 vega12_start_thermal_controller(struct pp_hwmgr * hwmgr,struct PP_TemperatureRange * range) argument [all...] |
| H A D | amdgpu_vega20_processpptables.c | 42 static void set_hw_cap(struct pp_hwmgr *hwmgr, bool enable, argument 51 static const void *get_powerplay_table(struct pp_hwmgr *hwmgr) argument 666 static int set_platform_caps(struct pp_hwmgr *hwmgr, uint32_ argument 643 check_powerplay_tables(struct pp_hwmgr * hwmgr,const ATOM_Vega20_POWERPLAYTABLE * powerplay_table) argument 691 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 721 append_vbios_pptable(struct pp_hwmgr * hwmgr,PPTable_t * ppsmc_pptable) argument 808 override_powerplay_table_fantargettemperature(struct pp_hwmgr * hwmgr) argument 820 init_powerplay_table_information(struct pp_hwmgr * hwmgr,const ATOM_Vega20_POWERPLAYTABLE * powerplay_table) argument 916 vega20_pp_tables_initialize(struct pp_hwmgr * hwmgr) argument 945 vega20_pp_tables_uninitialize(struct pp_hwmgr * hwmgr) argument [all...] |
| H A D | amdgpu_vega20_thermal.c | 37 static int vega20_disable_fan_control_feature(struct pp_hwmgr *hwmgr) argument 56 int vega20_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr) argument 66 static int vega20_enable_fan_control_feature(struct pp_hwmgr *hwmgr) argument 85 int vega20_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr) argument 95 vega20_fan_ctrl_set_static_mode(struct pp_hwmgr * hwmgr,uint32_t mode) argument 109 vega20_get_current_rpm(struct pp_hwmgr * hwmgr,uint32_t * current_rpm) argument 122 vega20_fan_ctrl_get_fan_speed_percent(struct pp_hwmgr * hwmgr,uint32_t * speed) argument 141 vega20_fan_ctrl_set_fan_speed_percent(struct pp_hwmgr * hwmgr,uint32_t speed) argument 172 vega20_fan_ctrl_get_fan_speed_info(struct pp_hwmgr * hwmgr,struct phm_fan_speed_info * fan_speed_info) argument 184 vega20_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr * hwmgr,uint32_t * speed) argument 191 vega20_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr * hwmgr,uint32_t speed) argument 221 vega20_thermal_get_temperature(struct pp_hwmgr * hwmgr) argument 245 vega20_thermal_set_temperature_range(struct pp_hwmgr * hwmgr,struct PP_TemperatureRange * range) argument 281 vega20_thermal_enable_alert(struct pp_hwmgr * hwmgr) argument 299 vega20_thermal_disable_alert(struct pp_hwmgr * hwmgr) argument 313 vega20_thermal_stop_thermal_controller(struct pp_hwmgr * hwmgr) argument 329 vega20_thermal_setup_fan_table(struct pp_hwmgr * hwmgr) argument 342 vega20_start_thermal_controller(struct pp_hwmgr * hwmgr,struct PP_TemperatureRange * range) argument [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/ |
| H A D | amdgpu_smu9_smumgr.c | 43 bool smu9_is_smc_ram_running(struct pp_hwmgr *hwmgr) argument 63 static uint32_t smu9_wait_for_response(struct pp_hwmgr *hwmgr) argument 100 static int smu9_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, argument 120 smu9_send_msg_to_smc(struct pp_hwmgr * hwmgr,uint16_t msg) argument 148 smu9_send_msg_to_smc_with_parameter(struct pp_hwmgr * hwmgr,uint16_t msg,uint32_t parameter) argument 177 smu9_get_argument(struct pp_hwmgr * hwmgr) argument [all...] |
| H A D | amdgpu_vega10_smumgr.c | 43 static int vega10_copy_table_from_smc(struct pp_hwmgr *hwmgr, argument 74 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 141 vega10_is_dpm_running(struct pp_hwmgr * hwmgr) argument 153 vega10_set_tools_address(struct pp_hwmgr * hwmgr) argument 168 vega10_verify_smc_interface(struct pp_hwmgr * hwmgr) argument 198 vega10_smu_init(struct pp_hwmgr * hwmgr) argument 322 vega10_smu_fini(struct pp_hwmgr * hwmgr) argument 349 vega10_start_smu(struct pp_hwmgr * hwmgr) argument 363 vega10_smc_table_manager(struct pp_hwmgr * hwmgr,uint8_t * table,uint16_t table_id,bool rw) argument [all...] |
| H A D | amdgpu_vega12_smumgr.c | 45 static int vega12_copy_table_from_smc(struct pp_hwmgr *hwmgr, argument 87 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 210 vega12_smu_init(struct pp_hwmgr * hwmgr) argument 345 vega12_smu_fini(struct pp_hwmgr * hwmgr) argument 376 vega12_start_smu(struct pp_hwmgr * hwmgr) argument 387 vega12_smc_table_manager(struct pp_hwmgr * hwmgr,uint8_t * table,uint16_t table_id,bool rw) argument [all...] |
| H A D | amdgpu_smumgr.c | 62 int smum_thermal_avfs_enable(struct pp_hwmgr *hwmgr) argument 70 int smum_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) argument 78 int smum_update_sclk_threshold(struct pp_hwmgr *hwmgr) argument 87 smum_update_smc_table(struct pp_hwmgr * hwmgr,uint32_t type) argument 96 smum_get_offsetof(struct pp_hwmgr * hwmgr,uint32_t type,uint32_t member) argument 104 smum_process_firmware_header(struct pp_hwmgr * hwmgr) argument 111 smum_get_argument(struct pp_hwmgr * hwmgr) argument 119 smum_get_mac_definition(struct pp_hwmgr * hwmgr,uint32_t value) argument 127 smum_download_powerplay_table(struct pp_hwmgr * hwmgr,void ** table) argument 135 smum_upload_powerplay_table(struct pp_hwmgr * hwmgr) argument 143 smum_send_msg_to_smc(struct pp_hwmgr * hwmgr,uint16_t msg) argument 151 smum_send_msg_to_smc_with_parameter(struct pp_hwmgr * hwmgr,uint16_t msg,uint32_t parameter) argument 161 smum_init_smc_table(struct pp_hwmgr * hwmgr) argument 169 smum_populate_all_graphic_levels(struct pp_hwmgr * hwmgr) argument 177 smum_populate_all_memory_levels(struct pp_hwmgr * hwmgr) argument 186 smum_initialize_mc_reg_table(struct pp_hwmgr * hwmgr) argument 194 smum_is_dpm_running(struct pp_hwmgr * hwmgr) argument 202 smum_is_hw_avfs_present(struct pp_hwmgr * hwmgr) argument 210 smum_update_dpm_settings(struct pp_hwmgr * hwmgr,void * profile_setting) argument 218 smum_smc_table_manager(struct pp_hwmgr * hwmgr,uint8_t * table,uint16_t table_id,bool rw) argument [all...] |
| H A D | amdgpu_smu10_smumgr.c | 54 static uint32_t smu10_wait_for_response(struct pp_hwmgr *hwmgr) argument 67 static int smu10_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, argument 77 static uint32_t smu10_read_arg_from_smc(struct pp_hwmgr *hwmgr) argument 84 static int smu10_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) argument 101 smu10_send_msg_to_smc_with_parameter(struct pp_hwmgr * hwmgr,uint16_t msg,uint32_t parameter) argument 121 smu10_copy_table_from_smc(struct pp_hwmgr * hwmgr,uint8_t * table,int16_t table_id) argument 153 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 294 smu10_smc_table_manager(struct pp_hwmgr * hwmgr,uint8_t * table,uint16_t table_id,bool rw) argument [all...] |
| H A D | amdgpu_vega20_smumgr.c | 52 bool vega20_is_smc_ram_running(struct pp_hwmgr *hwmgr) argument 73 static uint32_t vega20_wait_for_response(struct pp_hwmgr *hwmgr) argument 92 static int vega20_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, argument 108 static int vega20_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) argument 133 vega20_send_msg_to_smc_with_parameter(struct pp_hwmgr * hwmgr,uint16_t msg,uint32_t parameter) argument 154 vega20_get_argument(struct pp_hwmgr * hwmgr) argument 166 vega20_copy_table_from_smc(struct pp_hwmgr * hwmgr,uint8_t * table,int16_t table_id) argument 210 vega20_copy_table_to_smc(struct pp_hwmgr * hwmgr,uint8_t * table,int16_t table_id) argument 248 vega20_set_activity_monitor_coeff(struct pp_hwmgr * hwmgr,uint8_t * table,uint16_t workload_type) argument 279 vega20_get_activity_monitor_coeff(struct pp_hwmgr * hwmgr,uint8_t * table,uint16_t workload_type) argument 312 vega20_enable_smc_features(struct pp_hwmgr * hwmgr,bool enable,uint64_t feature_mask) argument 344 vega20_get_enabled_smc_features(struct pp_hwmgr * hwmgr,uint64_t * features_enabled) argument 370 vega20_set_tools_address(struct pp_hwmgr * hwmgr) argument 389 vega20_set_pptable_driver_address(struct pp_hwmgr * hwmgr) argument 409 vega20_smu_init(struct pp_hwmgr * hwmgr) argument 541 vega20_smu_fini(struct pp_hwmgr * hwmgr) argument 571 vega20_start_smu(struct pp_hwmgr * hwmgr) argument 588 vega20_is_dpm_running(struct pp_hwmgr * hwmgr) argument 600 vega20_smc_table_manager(struct pp_hwmgr * hwmgr,uint8_t * table,uint16_t table_id,bool rw) argument [all...] |