/Linux-v4.19/drivers/gpu/drm/amd/powerplay/inc/ |
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); 192 int (*check_fw_load_finish)(struct pp_hwmgr *hwmgr, 194 int (*request_smu_load_fw)(struct pp_hwmgr *hwmgr); 195 int (*request_smu_load_specific_fw)(struct pp_hwmgr *hwmgr, 197 uint32_t (*get_argument)(struct pp_hwmgr *hwmgr); 198 int (*send_msg_to_smc)(struct pp_hwmgr *hwmgr, uint16_t msg); 199 int (*send_msg_to_smc_with_parameter)(struct pp_hwmgr *hwmgr, [all …]
|
D | smumgr.h | 83 extern uint32_t smum_get_argument(struct pp_hwmgr *hwmgr); 85 extern int smum_download_powerplay_table(struct pp_hwmgr *hwmgr, void **table); 87 extern int smum_upload_powerplay_table(struct pp_hwmgr *hwmgr); 89 extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg); 91 extern int smum_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, 94 extern int smum_update_sclk_threshold(struct pp_hwmgr *hwmgr); 96 extern int smum_update_smc_table(struct pp_hwmgr *hwmgr, uint32_t type); 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); [all …]
|
D | hardwaremanager.h | 28 struct pp_hwmgr; 397 extern int phm_disable_clock_power_gatings(struct pp_hwmgr *hwmgr); 398 extern int phm_enable_clock_power_gatings(struct pp_hwmgr *hwmgr); 399 extern int phm_powerdown_uvd(struct pp_hwmgr *hwmgr); 400 extern int phm_setup_asic(struct pp_hwmgr *hwmgr); 401 extern int phm_enable_dynamic_state_management(struct pp_hwmgr *hwmgr); 402 extern int phm_disable_dynamic_state_management(struct pp_hwmgr *hwmgr); 403 extern bool phm_is_hw_access_blocked(struct pp_hwmgr *hwmgr); 404 extern int phm_block_hw_access(struct pp_hwmgr *hwmgr, bool block); 405 extern int phm_set_power_state(struct pp_hwmgr *hwmgr, [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/ |
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); 43 extern int smu7_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, struct phm_fan_speed_info *fan_… 44 extern int smu7_fan_ctrl_get_fan_speed_percent(struct pp_hwmgr *hwmgr, uint32_t *speed); 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); 47 extern int smu7_fan_ctrl_set_fan_speed_percent(struct pp_hwmgr *hwmgr, uint32_t speed); 48 extern int smu7_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr); 49 extern int smu7_thermal_ctrl_uninitialize_thermal_controller(struct pp_hwmgr *hwmgr); 50 extern int smu7_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t speed); [all …]
|
D | vega10_thermal.h | 53 extern int vega10_thermal_get_temperature(struct pp_hwmgr *hwmgr); 54 extern int vega10_thermal_stop_thermal_controller(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, 64 extern int vega10_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr); 66 struct pp_hwmgr *hwmgr); 67 extern int vega10_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, [all …]
|
D | ppatomctrl.h | 290 extern bool atomctrl_get_pp_assign_pin(struct pp_hwmgr *hwmgr, const uint32_t pinId, pp_atomctrl_gp… 291 extern int atomctrl_get_voltage_evv_on_sclk(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint32_t … 292 extern int atomctrl_get_voltage_evv(struct pp_hwmgr *hwmgr, uint16_t virtual_voltage_id, uint16_t *… 293 extern uint32_t atomctrl_get_mpll_reference_clock(struct pp_hwmgr *hwmgr); 294 extern int atomctrl_get_memory_clock_spread_spectrum(struct pp_hwmgr *hwmgr, const uint32_t memory_… 295 extern int atomctrl_get_engine_clock_spread_spectrum(struct pp_hwmgr *hwmgr, const uint32_t engine_… 296 extern int atomctrl_initialize_mc_reg_table(struct pp_hwmgr *hwmgr, uint8_t module_index, pp_atomct… 297 extern int atomctrl_set_engine_dram_timings_rv770(struct pp_hwmgr *hwmgr, uint32_t engine_clock, ui… 298 extern uint32_t atomctrl_get_reference_clock(struct pp_hwmgr *hwmgr); 299 extern int atomctrl_get_memory_pll_dividers_si(struct pp_hwmgr *hwmgr, uint32_t clock_value, pp_ato… [all …]
|
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() 76 int phm_enable_dynamic_state_management(struct pp_hwmgr *hwmgr) in phm_enable_dynamic_state_management() 94 int phm_disable_dynamic_state_management(struct pp_hwmgr *hwmgr) in phm_disable_dynamic_state_management() 111 int phm_force_dpm_levels(struct pp_hwmgr *hwmgr, enum amd_dpm_forced_level level) in phm_force_dpm_levels() 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() 155 int phm_enable_clock_power_gatings(struct pp_hwmgr *hwmgr) in phm_enable_clock_power_gatings() [all …]
|
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);
|
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,
|
D | vega12_thermal.c | 32 static int vega12_get_current_rpm(struct pp_hwmgr *hwmgr, uint32_t *current_rpm) in vega12_get_current_rpm() 43 int vega12_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr, in vega12_fan_ctrl_get_fan_speed_info() 55 int vega12_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t *speed) in vega12_fan_ctrl_get_fan_speed_rpm() 69 static int vega12_enable_fan_control_feature(struct pp_hwmgr *hwmgr) in vega12_enable_fan_control_feature() 87 static int vega12_disable_fan_control_feature(struct pp_hwmgr *hwmgr) in vega12_disable_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() 136 int vega12_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr) in vega12_fan_ctrl_reset_fan_speed_to_default() 146 int vega12_thermal_get_temperature(struct pp_hwmgr *hwmgr) in vega12_thermal_get_temperature() 170 static int vega12_thermal_set_temperature_range(struct pp_hwmgr *hwmgr, in vega12_thermal_set_temperature_range() [all …]
|
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);
|
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);
|
D | hwmgr.c | 48 extern int smu7_init_function_pointers(struct pp_hwmgr *hwmgr); 49 extern int smu8_init_function_pointers(struct pp_hwmgr *hwmgr); 50 extern int vega10_hwmgr_init(struct pp_hwmgr *hwmgr); 51 extern int vega12_hwmgr_init(struct pp_hwmgr *hwmgr); 52 extern int smu10_init_function_pointers(struct pp_hwmgr *hwmgr); 54 static int polaris_set_asic_special_caps(struct pp_hwmgr *hwmgr); 55 static void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr); 56 static int hwmgr_set_user_specify_caps(struct pp_hwmgr *hwmgr); 57 static int fiji_set_asic_special_caps(struct pp_hwmgr *hwmgr); 58 static int tonga_set_asic_special_caps(struct pp_hwmgr *hwmgr); [all …]
|
D | smu10_hwmgr.c | 55 static int smu10_display_clock_voltage_request(struct pp_hwmgr *hwmgr, in smu10_display_clock_voltage_request() 105 static int smu10_initialize_dpm_defaults(struct pp_hwmgr *hwmgr) in smu10_initialize_dpm_defaults() 133 static int smu10_construct_max_power_limits_table(struct pp_hwmgr *hwmgr, in smu10_construct_max_power_limits_table() 140 struct pp_hwmgr *hwmgr) in smu10_init_dynamic_state_adjustment_rule_settings() 176 static int smu10_get_system_info_data(struct pp_hwmgr *hwmgr) in smu10_get_system_info_data() 194 static int smu10_construct_boot_state(struct pp_hwmgr *hwmgr) in smu10_construct_boot_state() 199 static int smu10_set_clock_limit(struct pp_hwmgr *hwmgr, const void *input) in smu10_set_clock_limit() 214 static int smu10_set_deep_sleep_dcefclk(struct pp_hwmgr *hwmgr, uint32_t clock) in smu10_set_deep_sleep_dcefclk() 227 static int smu10_set_active_display_count(struct pp_hwmgr *hwmgr, uint32_t count) in smu10_set_active_display_count() 241 static int smu10_set_power_state_tasks(struct pp_hwmgr *hwmgr, const void *input) in smu10_set_power_state_tasks() [all …]
|
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() 83 int smu7_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t *speed) in smu7_fan_ctrl_get_fan_speed_rpm() 111 int smu7_fan_ctrl_set_static_mode(struct pp_hwmgr *hwmgr, uint32_t mode) in smu7_fan_ctrl_set_static_mode() 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() 232 int smu7_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr) in smu7_fan_ctrl_reset_fan_speed_to_default() 255 int smu7_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t speed) in smu7_fan_ctrl_set_fan_speed_rpm() [all …]
|
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,
|
D | smu8_hwmgr.c | 68 static uint32_t smu8_get_eclk_level(struct pp_hwmgr *hwmgr, in smu8_get_eclk_level() 99 static uint32_t smu8_get_sclk_level(struct pp_hwmgr *hwmgr, in smu8_get_sclk_level() 129 static uint32_t smu8_get_uvd_level(struct pp_hwmgr *hwmgr, in smu8_get_uvd_level() 160 static uint32_t smu8_get_max_sclk_level(struct pp_hwmgr *hwmgr) in smu8_get_max_sclk_level() 172 static int smu8_initialize_dpm_defaults(struct pp_hwmgr *hwmgr) in smu8_initialize_dpm_defaults() 249 struct pp_hwmgr *hwmgr, uint16_t voltage) in smu8_convert_8Bit_index_to_voltage() 254 static int smu8_construct_max_power_limits_table(struct pp_hwmgr *hwmgr, in smu8_construct_max_power_limits_table() 272 struct pp_hwmgr *hwmgr, in smu8_init_dynamic_state_adjustment_rule_settings() 309 static int smu8_get_system_info_data(struct pp_hwmgr *hwmgr) in smu8_get_system_info_data() 413 static int smu8_construct_boot_state(struct pp_hwmgr *hwmgr) in smu8_construct_boot_state() [all …]
|
D | vega10_thermal.c | 31 static int vega10_get_current_rpm(struct pp_hwmgr *hwmgr, uint32_t *current_rpm) in vega10_get_current_rpm() 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() 90 int vega10_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t *speed) in vega10_fan_ctrl_get_fan_speed_rpm() 127 int vega10_fan_ctrl_set_static_mode(struct pp_hwmgr *hwmgr, uint32_t mode) in vega10_fan_ctrl_set_static_mode() 156 int vega10_fan_ctrl_set_default_mode(struct pp_hwmgr *hwmgr) in vega10_fan_ctrl_set_default_mode() 182 static int vega10_enable_fan_control_feature(struct pp_hwmgr *hwmgr) in vega10_enable_fan_control_feature() 199 static int vega10_disable_fan_control_feature(struct pp_hwmgr *hwmgr) in vega10_disable_fan_control_feature() 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() [all …]
|
D | processpptables.h | 28 struct pp_hwmgr; 34 typedef int (*pp_tables_hw_clock_info_callback)(struct pp_hwmgr *hwmgr, 39 int pp_tables_get_num_of_entries(struct pp_hwmgr *hwmgr, 42 int pp_tables_get_entry(struct pp_hwmgr *hwmgr, 47 int pp_tables_get_response_times(struct pp_hwmgr *hwmgr,
|
D | smu_helper.h | 27 struct pp_hwmgr; 50 extern int phm_wait_for_register_unequal(struct pp_hwmgr *hwmgr, 54 struct pp_hwmgr *hwmgr, 59 extern bool phm_cf_want_uvd_power_gating(struct pp_hwmgr *hwmgr); 60 extern bool phm_cf_want_vce_power_gating(struct pp_hwmgr *hwmgr); 61 extern bool phm_cf_want_microcode_fan_ctrl(struct pp_hwmgr *hwmgr); 76 extern int phm_get_sclk_for_voltage_evv(struct pp_hwmgr *hwmgr, phm_ppt_v1_voltage_lookup_table *lo… 78 extern int phm_initializa_dynamic_state_adjustment_rule_settings(struct pp_hwmgr *hwmgr); 79 extern uint32_t phm_get_lowest_enabled_level(struct pp_hwmgr *hwmgr, uint32_t mask); 80 extern void phm_apply_dal_min_voltage_request(struct pp_hwmgr *hwmgr); [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | smu7_smumgr.h | 56 int smu7_copy_bytes_from_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, 58 int smu7_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, 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); 63 int smu7_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, uint16_t msg); 64 int smu7_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg, 66 int smu7_send_msg_to_smc_with_parameter_without_waiting(struct pp_hwmgr *hwmgr, 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, [all …]
|
D | smumgr.c | 50 int smum_thermal_avfs_enable(struct pp_hwmgr *hwmgr) in smum_thermal_avfs_enable() 58 int smum_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) in smum_thermal_setup_fan_table() 66 int smum_update_sclk_threshold(struct pp_hwmgr *hwmgr) in smum_update_sclk_threshold() 75 int smum_update_smc_table(struct pp_hwmgr *hwmgr, uint32_t type) in smum_update_smc_table() 84 uint32_t smum_get_offsetof(struct pp_hwmgr *hwmgr, uint32_t type, uint32_t member) in smum_get_offsetof() 92 int smum_process_firmware_header(struct pp_hwmgr *hwmgr) in smum_process_firmware_header() 99 uint32_t smum_get_argument(struct pp_hwmgr *hwmgr) in smum_get_argument() 107 uint32_t smum_get_mac_definition(struct pp_hwmgr *hwmgr, uint32_t value) in smum_get_mac_definition() 115 int smum_download_powerplay_table(struct pp_hwmgr *hwmgr, void **table) in smum_download_powerplay_table() 123 int smum_upload_powerplay_table(struct pp_hwmgr *hwmgr) in smum_upload_powerplay_table() [all …]
|
D | smu10_smumgr.c | 48 static uint32_t smu10_wait_for_response(struct pp_hwmgr *hwmgr) in smu10_wait_for_response() 61 static int smu10_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, in smu10_send_msg_to_smc_without_waiting() 71 static uint32_t smu10_read_arg_from_smc(struct pp_hwmgr *hwmgr) in smu10_read_arg_from_smc() 78 static int smu10_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in smu10_send_msg_to_smc() 95 static int smu10_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, in smu10_send_msg_to_smc_with_parameter() 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() 172 static int smu10_verify_smc_interface(struct pp_hwmgr *hwmgr) in smu10_verify_smc_interface() 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() [all …]
|
D | smu8_smumgr.c | 55 static uint32_t smu8_get_argument(struct pp_hwmgr *hwmgr) in smu8_get_argument() 64 static int smu8_send_msg_to_smc_async(struct pp_hwmgr *hwmgr, uint16_t msg) in smu8_send_msg_to_smc_async() 85 static int smu8_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in smu8_send_msg_to_smc() 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() 134 static int smu8_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, in smu8_send_msg_to_smc_with_parameter() 145 static int smu8_check_fw_load_finish(struct pp_hwmgr *hwmgr, in smu8_check_fw_load_finish() 173 static int smu8_load_mec_firmware(struct pp_hwmgr *hwmgr) in smu8_load_mec_firmware() 218 static uint8_t smu8_translate_firmware_enum_to_arg(struct pp_hwmgr *hwmgr, in smu8_translate_firmware_enum_to_arg() 328 struct pp_hwmgr *hwmgr, in smu8_smu_populate_single_scratch_task() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/ |
D | amd_powerplay.c | 40 struct pp_hwmgr *hwmgr; in amd_powerplay_create() 45 hwmgr = kzalloc(sizeof(struct pp_hwmgr), GFP_KERNEL); in amd_powerplay_create() 66 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in amd_powerplay_destroy() 95 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_sw_init() 108 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_sw_fini() 125 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_hw_init() 141 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_hw_fini() 153 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_reserve_vram_for_smu() 182 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_late_init() 230 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_suspend() [all …]
|