Home
last modified time | relevance | path

Searched defs:hwmgr (Results 1 – 25 of 34) sorted by relevance

12

/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu8_hwmgr.c68 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()
174 static int smu8_initialize_dpm_defaults(struct pp_hwmgr *hwmgr) in smu8_initialize_dpm_defaults()
251 struct pp_hwmgr *hwmgr, uint16_t voltage) in smu8_convert_8Bit_index_to_voltage()
256 static int smu8_construct_max_power_limits_table(struct pp_hwmgr *hwmgr, in smu8_construct_max_power_limits_table()
274 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 …]
H A Dvega12_hwmgr.c64 static void vega12_set_default_registry_data(struct pp_hwmgr *hwmgr) in vega12_set_default_registry_data()
138 static int vega12_set_features_platform_caps(struct pp_hwmgr *hwmgr) in vega12_set_features_platform_caps()
296 static int vega12_init_dpm_defaults(struct pp_hwmgr *hwmgr) in vega12_init_dpm_defaults()
379 static int vega12_set_private_data_based_on_pptable(struct pp_hwmgr *hwmgr) in vega12_set_private_data_based_on_pptable()
384 static int vega12_hwmgr_backend_fini(struct pp_hwmgr *hwmgr) in vega12_hwmgr_backend_fini()
392 static int vega12_hwmgr_backend_init(struct pp_hwmgr *hwmgr) in vega12_hwmgr_backend_init()
460 static int vega12_init_sclk_threshold(struct pp_hwmgr *hwmgr) in vega12_init_sclk_threshold()
470 static int vega12_setup_asic_task(struct pp_hwmgr *hwmgr) in vega12_setup_asic_task()
494 static int vega12_override_pcie_parameters(struct pp_hwmgr *hwmgr) in vega12_override_pcie_parameters()
578 static int vega12_get_number_of_dpm_level(struct pp_hwmgr *hwmgr, in vega12_get_number_of_dpm_level()
[all …]
H A Dvega20_hwmgr.c62 static void vega20_set_default_registry_data(struct pp_hwmgr *hwmgr) in vega20_set_default_registry_data()
176 static int vega20_set_features_platform_caps(struct pp_hwmgr *hwmgr) in vega20_set_features_platform_caps()
331 static int vega20_init_dpm_defaults(struct pp_hwmgr *hwmgr) in vega20_init_dpm_defaults()
420 static int vega20_set_private_data_based_on_pptable(struct pp_hwmgr *hwmgr) in vega20_set_private_data_based_on_pptable()
425 static int vega20_hwmgr_backend_fini(struct pp_hwmgr *hwmgr) in vega20_hwmgr_backend_fini()
433 static int vega20_hwmgr_backend_init(struct pp_hwmgr *hwmgr) in vega20_hwmgr_backend_init()
489 static int vega20_init_sclk_threshold(struct pp_hwmgr *hwmgr) in vega20_init_sclk_threshold()
499 static int vega20_setup_asic_task(struct pp_hwmgr *hwmgr) in vega20_setup_asic_task()
536 static int vega20_get_number_of_dpm_level(struct pp_hwmgr *hwmgr, in vega20_get_number_of_dpm_level()
552 static int vega20_get_dpm_frequency_by_index(struct pp_hwmgr *hwmgr, in vega20_get_dpm_frequency_by_index()
[all …]
H A Dhwmgr.c61 static void hwmgr_init_workload_prority(struct pp_hwmgr *hwmgr) in hwmgr_init_workload_prority()
78 int hwmgr_early_init(struct pp_hwmgr *hwmgr) in hwmgr_early_init()
196 int hwmgr_sw_init(struct pp_hwmgr *hwmgr) in hwmgr_sw_init()
208 int hwmgr_sw_fini(struct pp_hwmgr *hwmgr) in hwmgr_sw_fini()
216 int hwmgr_hw_init(struct pp_hwmgr *hwmgr) in hwmgr_hw_init()
279 int hwmgr_hw_fini(struct pp_hwmgr *hwmgr) in hwmgr_hw_fini()
297 int hwmgr_suspend(struct pp_hwmgr *hwmgr) in hwmgr_suspend()
316 int hwmgr_resume(struct pp_hwmgr *hwmgr) in hwmgr_resume()
357 int hwmgr_handle_task(struct pp_hwmgr *hwmgr, enum amd_pp_task task_id, in hwmgr_handle_task()
409 void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr) in hwmgr_init_default_caps()
[all …]
H A Dvega10_hwmgr.c115 static void vega10_set_default_registry_data(struct pp_hwmgr *hwmgr) in vega10_set_default_registry_data()
193 static int vega10_set_features_platform_caps(struct pp_hwmgr *hwmgr) in vega10_set_features_platform_caps()
303 static int vega10_odn_initial_default_setting(struct pp_hwmgr *hwmgr) in vega10_odn_initial_default_setting()
357 static int vega10_init_dpm_defaults(struct pp_hwmgr *hwmgr) in vega10_init_dpm_defaults()
524 static int vega10_get_socclk_for_voltage_evv(struct pp_hwmgr *hwmgr, in vega10_get_socclk_for_voltage_evv()
560 static int vega10_get_evv_voltages(struct pp_hwmgr *hwmgr) in vega10_get_evv_voltages()
617 static void vega10_patch_with_vdd_leakage(struct pp_hwmgr *hwmgr, in vega10_patch_with_vdd_leakage()
644 static int vega10_patch_lookup_table_with_leakage(struct pp_hwmgr *hwmgr, in vega10_patch_lookup_table_with_leakage()
658 struct pp_hwmgr *hwmgr, struct vega10_leakage_voltage *leakage_table, in vega10_patch_clock_voltage_limits_with_vddc_leakage()
668 struct pp_hwmgr *hwmgr) in vega10_patch_voltage_dependency_tables_with_lookup_table()
[all …]
H A Dvega12_thermal.c32 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()
68 static int vega12_enable_fan_control_feature(struct pp_hwmgr *hwmgr) in vega12_enable_fan_control_feature()
86 static int vega12_disable_fan_control_feature(struct pp_hwmgr *hwmgr) in vega12_disable_fan_control_feature()
104 int vega12_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr) in vega12_fan_ctrl_start_smc_fan_control()
118 int vega12_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr) in vega12_fan_ctrl_stop_smc_fan_control()
135 int vega12_fan_ctrl_reset_fan_speed_to_default(struct pp_hwmgr *hwmgr) in vega12_fan_ctrl_reset_fan_speed_to_default()
145 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 …]
H A Dprocesspptables.c50 static uint16_t get_vce_table_offset(struct pp_hwmgr *hwmgr, in get_vce_table_offset()
74 static uint16_t get_vce_clock_info_array_offset(struct pp_hwmgr *hwmgr, in get_vce_clock_info_array_offset()
86 static uint16_t get_vce_clock_info_array_size(struct pp_hwmgr *hwmgr, in get_vce_clock_info_array_size()
102 static uint16_t get_vce_clock_voltage_limit_table_offset(struct pp_hwmgr *hwmgr, in get_vce_clock_voltage_limit_table_offset()
115 static uint16_t get_vce_clock_voltage_limit_table_size(struct pp_hwmgr *hwmgr, in get_vce_clock_voltage_limit_table_size()
130 static uint16_t get_vce_state_table_offset(struct pp_hwmgr *hwmgr, const ATOM_PPLIB_POWERPLAYTABLE … in get_vce_state_table_offset()
141 struct pp_hwmgr *hwmgr, in get_vce_state_table()
152 static uint16_t get_uvd_table_offset(struct pp_hwmgr *hwmgr, in get_uvd_table_offset()
174 static uint16_t get_uvd_clock_info_array_offset(struct pp_hwmgr *hwmgr, in get_uvd_clock_info_array_offset()
185 static uint16_t get_uvd_clock_info_array_size(struct pp_hwmgr *hwmgr, in get_uvd_clock_info_array_size()
[all …]
H A Dvega10_powertune.c749 static int vega10_program_didt_config_registers(struct pp_hwmgr *hwmgr, const struct vega10_didt_co… in vega10_program_didt_config_registers()
785 static int vega10_program_gc_didt_config_registers(struct pp_hwmgr *hwmgr, const struct vega10_didt… in vega10_program_gc_didt_config_registers()
800 static void vega10_didt_set_mask(struct pp_hwmgr *hwmgr, const bool enable) in vega10_didt_set_mask()
883 static int vega10_enable_cac_driving_se_didt_config(struct pp_hwmgr *hwmgr) in vega10_enable_cac_driving_se_didt_config()
921 static int vega10_disable_cac_driving_se_didt_config(struct pp_hwmgr *hwmgr) in vega10_disable_cac_driving_se_didt_config()
934 static int vega10_enable_psm_gc_didt_config(struct pp_hwmgr *hwmgr) in vega10_enable_psm_gc_didt_config()
973 static int vega10_disable_psm_gc_didt_config(struct pp_hwmgr *hwmgr) in vega10_disable_psm_gc_didt_config()
995 static int vega10_enable_se_edc_config(struct pp_hwmgr *hwmgr) in vega10_enable_se_edc_config()
1029 static int vega10_disable_se_edc_config(struct pp_hwmgr *hwmgr) in vega10_disable_se_edc_config()
1042 static int vega10_enable_psm_gc_edc_config(struct pp_hwmgr *hwmgr) in vega10_enable_psm_gc_edc_config()
[all …]
H A Dvega10_processpptables.c37 static void set_hw_cap(struct pp_hwmgr *hwmgr, bool enable, in set_hw_cap()
46 static const void *get_powerplay_table(struct pp_hwmgr *hwmgr) in get_powerplay_table()
67 struct pp_hwmgr *hwmgr, in check_powerplay_tables()
88 static int set_platform_caps(struct pp_hwmgr *hwmgr, uint32_t powerplay_caps) in set_platform_caps()
119 struct pp_hwmgr *hwmgr, in init_thermal_controller()
307 struct pp_hwmgr *hwmgr, in init_over_drive_limits()
342 struct pp_hwmgr *hwmgr, in get_mm_clock_voltage_table()
418 struct pp_hwmgr *hwmgr, in get_tdp_table()
566 struct pp_hwmgr *hwmgr, in get_socclk_voltage_dependency_table()
596 struct pp_hwmgr *hwmgr, in get_mclk_voltage_dependency_table()
[all …]
H A Dprocess_pptables_v1_0.c40 static void set_hw_cap(struct pp_hwmgr *hwmgr, bool setIt, enum phm_platform_caps cap) in set_hw_cap()
55 static int set_platform_caps(struct pp_hwmgr *hwmgr, uint32_t powerplay_caps) in set_platform_caps()
134 static const void *get_powerplay_table(struct pp_hwmgr *hwmgr) in get_powerplay_table()
154 struct pp_hwmgr *hwmgr, in get_vddc_lookup_table()
200 struct pp_hwmgr *hwmgr, in get_platform_power_management_table()
243 struct pp_hwmgr *hwmgr, in init_dpm_2_parameters()
312 struct pp_hwmgr *hwmgr, in get_valid_clk()
343 struct pp_hwmgr *hwmgr, in get_hard_limits()
361 struct pp_hwmgr *hwmgr, in get_mclk_voltage_dependency_table()
401 struct pp_hwmgr *hwmgr, in get_sclk_voltage_dependency_table()
[all …]
H A Dpp_psm.c29 int psm_init_power_state_table(struct pp_hwmgr *hwmgr) in psm_init_power_state_table()
106 int psm_fini_power_state_table(struct pp_hwmgr *hwmgr) in psm_fini_power_state_table()
123 static int psm_get_ui_state(struct pp_hwmgr *hwmgr, in psm_get_ui_state()
144 static int psm_get_state_by_classification(struct pp_hwmgr *hwmgr, in psm_get_state_by_classification()
165 static int psm_set_states(struct pp_hwmgr *hwmgr, unsigned long state_id) in psm_set_states()
185 int psm_set_boot_states(struct pp_hwmgr *hwmgr) in psm_set_boot_states()
200 int psm_set_performance_states(struct pp_hwmgr *hwmgr) in psm_set_performance_states()
215 int psm_set_user_performance_state(struct pp_hwmgr *hwmgr, in psm_set_user_performance_state()
246 static void power_state_management(struct pp_hwmgr *hwmgr, in power_state_management()
271 int psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr, bool skip_display_settings, in psm_adjust_power_state_dynamic()
H A Dvega12_processpptables.c34 static void set_hw_cap(struct pp_hwmgr *hwmgr, bool enable, in set_hw_cap()
43 static const void *get_powerplay_table(struct pp_hwmgr *hwmgr) in get_powerplay_table()
64 struct pp_hwmgr *hwmgr, in check_powerplay_tables()
76 static int set_platform_caps(struct pp_hwmgr *hwmgr, uint32_t powerplay_caps) in set_platform_caps()
101 static int append_vbios_pptable(struct pp_hwmgr *hwmgr, PPTable_t *ppsmc_pptable) in append_vbios_pptable()
191 struct pp_hwmgr *hwmgr, in init_powerplay_table_information()
261 static int vega12_pp_tables_initialize(struct pp_hwmgr *hwmgr) in vega12_pp_tables_initialize()
290 static int vega12_pp_tables_uninitialize(struct pp_hwmgr *hwmgr) in vega12_pp_tables_uninitialize()
H A Dsmu7_powertune.c850 static int smu7_enable_didt(struct pp_hwmgr *hwmgr, const bool enable) in smu7_enable_didt()
897 static int smu7_program_pt_config_registers(struct pp_hwmgr *hwmgr, in smu7_program_pt_config_registers()
958 int smu7_enable_didt_config(struct pp_hwmgr *hwmgr) in smu7_enable_didt_config()
1058 int smu7_disable_didt_config(struct pp_hwmgr *hwmgr) in smu7_disable_didt_config()
1090 int smu7_enable_smc_cac(struct pp_hwmgr *hwmgr) in smu7_enable_smc_cac()
1108 int smu7_disable_smc_cac(struct pp_hwmgr *hwmgr) in smu7_disable_smc_cac()
1125 int smu7_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n) in smu7_set_power_limit()
1138 static int smu7_set_overdriver_target_tdp(struct pp_hwmgr *hwmgr, in smu7_set_overdriver_target_tdp()
1147 int smu7_enable_power_containment(struct pp_hwmgr *hwmgr) in smu7_enable_power_containment()
1194 int smu7_disable_power_containment(struct pp_hwmgr *hwmgr) in smu7_disable_power_containment()
[all …]
H A Dsmu_helper.h176 #define PHM_WAIT_INDIRECT_REGISTER_GIVEN_INDEX(hwmgr, port, index, value, mask) \ argument
180 #define PHM_WAIT_INDIRECT_REGISTER(hwmgr, port, reg, value, mask) \ argument
183 #define PHM_WAIT_INDIRECT_FIELD(hwmgr, port, reg, field, fieldval) \ argument
187 #define PHM_WAIT_INDIRECT_REGISTER_UNEQUAL_GIVEN_INDEX(hwmgr, port, index, value, mask) \ argument
191 #define PHM_WAIT_INDIRECT_REGISTER_UNEQUAL(hwmgr, port, reg, value, mask) \ argument
194 #define PHM_WAIT_INDIRECT_FIELD_UNEQUAL(hwmgr, port, reg, field, fieldval) … argument
200 #define PHM_WAIT_VFPF_INDIRECT_REGISTER_UNEQUAL_GIVEN_INDEX(hwmgr, \ argument
205 #define PHM_WAIT_VFPF_INDIRECT_REGISTER_UNEQUAL(hwmgr, port, reg, value, mask) \ argument
208 #define PHM_WAIT_VFPF_INDIRECT_FIELD_UNEQUAL(hwmgr, port, reg, field, fieldval) \ argument
214 #define PHM_WAIT_VFPF_INDIRECT_REGISTER_GIVEN_INDEX(hwmgr, \ argument
[all …]
H A Dsmu_helper.c47 struct pp_hwmgr *hwmgr, in phm_copy_clock_limits_array()
69 struct pp_hwmgr *hwmgr, in phm_copy_overdrive_settings_limits_array()
110 int phm_wait_on_register(struct pp_hwmgr *hwmgr, uint32_t index, in phm_wait_on_register()
140 int phm_wait_on_indirect_register(struct pp_hwmgr *hwmgr, in phm_wait_on_indirect_register()
155 int phm_wait_for_register_unequal(struct pp_hwmgr *hwmgr, in phm_wait_for_register_unequal()
179 int phm_wait_for_indirect_register_unequal(struct pp_hwmgr *hwmgr, in phm_wait_for_indirect_register_unequal()
193 bool phm_cf_want_uvd_power_gating(struct pp_hwmgr *hwmgr) in phm_cf_want_uvd_power_gating()
198 bool phm_cf_want_vce_power_gating(struct pp_hwmgr *hwmgr) in phm_cf_want_vce_power_gating()
460 int phm_get_sclk_for_voltage_evv(struct pp_hwmgr *hwmgr, in phm_get_sclk_for_voltage_evv()
493 int phm_initializa_dynamic_state_adjustment_rule_settings(struct pp_hwmgr *hwmgr) in phm_initializa_dynamic_state_adjustment_rule_settings()
[all …]
H A Dvega20_powertune.c32 int vega20_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n) in vega20_set_power_limit()
45 int vega20_validate_power_level_request(struct pp_hwmgr *hwmgr, in vega20_validate_power_level_request()
51 static int vega20_set_overdrive_target_percentage(struct pp_hwmgr *hwmgr, in vega20_set_overdrive_target_percentage()
59 int vega20_power_control_set_level(struct pp_hwmgr *hwmgr) in vega20_power_control_set_level()
H A Dvega20_baco.c39 int vega20_get_bamaco_support(struct pp_hwmgr *hwmgr) in vega20_get_bamaco_support()
57 int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) in vega20_baco_get_state()
72 int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) in vega20_baco_set_state()
111 int vega20_baco_apply_vdci_flush_workaround(struct pp_hwmgr *hwmgr) in vega20_baco_apply_vdci_flush_workaround()
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dsmumgr.c57 int smum_thermal_avfs_enable(struct pp_hwmgr *hwmgr) in smum_thermal_avfs_enable()
65 int smum_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) in smum_thermal_setup_fan_table()
73 int smum_update_sclk_threshold(struct pp_hwmgr *hwmgr) in smum_update_sclk_threshold()
82 int smum_update_smc_table(struct pp_hwmgr *hwmgr, uint32_t type) in smum_update_smc_table()
91 uint32_t smum_get_offsetof(struct pp_hwmgr *hwmgr, uint32_t type, uint32_t member) in smum_get_offsetof()
99 int smum_process_firmware_header(struct pp_hwmgr *hwmgr) in smum_process_firmware_header()
106 uint32_t smum_get_mac_definition(struct pp_hwmgr *hwmgr, uint32_t value) in smum_get_mac_definition()
114 int smum_download_powerplay_table(struct pp_hwmgr *hwmgr, void **table) in smum_download_powerplay_table()
122 int smum_upload_powerplay_table(struct pp_hwmgr *hwmgr) in smum_upload_powerplay_table()
130 int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t *resp) in smum_send_msg_to_smc()
[all …]
H A Dsmu8_smumgr.c56 static uint32_t smu8_get_argument(struct pp_hwmgr *hwmgr) in smu8_get_argument()
66 static int smu8_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, in smu8_send_msg_to_smc_with_parameter()
104 static int smu8_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in smu8_send_msg_to_smc()
109 static int smu8_set_smc_sram_address(struct pp_hwmgr *hwmgr, in smu8_set_smc_sram_address()
131 static int smu8_write_smc_sram_dword(struct pp_hwmgr *hwmgr, in smu8_write_smc_sram_dword()
146 static int smu8_check_fw_load_finish(struct pp_hwmgr *hwmgr, in smu8_check_fw_load_finish()
174 static int smu8_load_mec_firmware(struct pp_hwmgr *hwmgr) in smu8_load_mec_firmware()
217 static uint8_t smu8_translate_firmware_enum_to_arg(struct pp_hwmgr *hwmgr, in smu8_translate_firmware_enum_to_arg()
327 struct pp_hwmgr *hwmgr, in smu8_smu_populate_single_scratch_task()
364 struct pp_hwmgr *hwmgr, in smu8_smu_populate_single_ucode_load_task()
[all …]
H A Dci_smumgr.c94 static int ci_set_smc_sram_address(struct pp_hwmgr *hwmgr, in ci_set_smc_sram_address()
108 static int ci_copy_bytes_to_smc(struct pp_hwmgr *hwmgr, uint32_t smc_start_address, in ci_copy_bytes_to_smc()
177 static int ci_program_jump_on_start(struct pp_hwmgr *hwmgr) in ci_program_jump_on_start()
186 static bool ci_is_smc_ram_running(struct pp_hwmgr *hwmgr) in ci_is_smc_ram_running()
194 static int ci_read_smc_sram_dword(struct pp_hwmgr *hwmgr, uint32_t smc_addr, in ci_read_smc_sram_dword()
208 static int ci_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in ci_send_msg_to_smc()
227 static int ci_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, in ci_send_msg_to_smc_with_parameter()
234 static void ci_initialize_power_tune_defaults(struct pp_hwmgr *hwmgr) in ci_initialize_power_tune_defaults()
277 static int ci_get_dependency_volt_by_clk(struct pp_hwmgr *hwmgr, in ci_get_dependency_volt_by_clk()
297 static int ci_calculate_sclk_params(struct pp_hwmgr *hwmgr, in ci_calculate_sclk_params()
[all …]
H A Dvegam_smumgr.c82 static int vegam_smu_init(struct pp_hwmgr *hwmgr) in vegam_smu_init()
100 static int vegam_start_smu_in_protection_mode(struct pp_hwmgr *hwmgr) in vegam_start_smu_in_protection_mode()
155 static int vegam_start_smu_in_non_protection_mode(struct pp_hwmgr *hwmgr) in vegam_start_smu_in_non_protection_mode()
192 static int vegam_start_smu(struct pp_hwmgr *hwmgr) in vegam_start_smu()
225 static int vegam_process_firmware_header(struct pp_hwmgr *hwmgr) in vegam_process_firmware_header()
296 static bool vegam_is_dpm_running(struct pp_hwmgr *hwmgr) in vegam_is_dpm_running()
330 static int vegam_update_uvd_smc_table(struct pp_hwmgr *hwmgr) in vegam_update_uvd_smc_table()
363 static int vegam_update_vce_smc_table(struct pp_hwmgr *hwmgr) in vegam_update_vce_smc_table()
396 static int vegam_update_bif_smc_table(struct pp_hwmgr *hwmgr) in vegam_update_bif_smc_table()
413 static int vegam_update_smc_table(struct pp_hwmgr *hwmgr, uint32_t type) in vegam_update_smc_table()
[all …]
H A Dvega20_smumgr.c49 bool vega20_is_smc_ram_running(struct pp_hwmgr *hwmgr) in vega20_is_smc_ram_running()
70 static uint32_t vega20_wait_for_response(struct pp_hwmgr *hwmgr) in vega20_wait_for_response()
89 static int vega20_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, in vega20_send_msg_to_smc_without_waiting()
105 static int vega20_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in vega20_send_msg_to_smc()
130 static int vega20_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, in vega20_send_msg_to_smc_with_parameter()
151 static uint32_t vega20_get_argument(struct pp_hwmgr *hwmgr) in vega20_get_argument()
163 static int vega20_copy_table_from_smc(struct pp_hwmgr *hwmgr, in vega20_copy_table_from_smc()
208 static int vega20_copy_table_to_smc(struct pp_hwmgr *hwmgr, in vega20_copy_table_to_smc()
248 int vega20_set_activity_monitor_coeff(struct pp_hwmgr *hwmgr, in vega20_set_activity_monitor_coeff()
283 int vega20_get_activity_monitor_coeff(struct pp_hwmgr *hwmgr, in vega20_get_activity_monitor_coeff()
[all …]
H A Dsmu10_smumgr.c49 static uint32_t smu10_wait_for_response(struct pp_hwmgr *hwmgr) in smu10_wait_for_response()
62 static int smu10_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, in smu10_send_msg_to_smc_without_waiting()
72 static uint32_t smu10_read_arg_from_smc(struct pp_hwmgr *hwmgr) in smu10_read_arg_from_smc()
79 static int smu10_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in smu10_send_msg_to_smc()
96 static int smu10_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, in smu10_send_msg_to_smc_with_parameter()
116 static int smu10_copy_table_from_smc(struct pp_hwmgr *hwmgr, in smu10_copy_table_from_smc()
150 static int smu10_copy_table_to_smc(struct pp_hwmgr *hwmgr, in smu10_copy_table_to_smc()
185 static int smu10_verify_smc_interface(struct pp_hwmgr *hwmgr) in smu10_verify_smc_interface()
205 static int smu10_smu_fini(struct pp_hwmgr *hwmgr) in smu10_smu_fini()
224 static int smu10_start_smu(struct pp_hwmgr *hwmgr) in smu10_start_smu()
[all …]
H A Dvega10_smumgr.c38 static int vega10_copy_table_from_smc(struct pp_hwmgr *hwmgr, in vega10_copy_table_from_smc()
71 static int vega10_copy_table_to_smc(struct pp_hwmgr *hwmgr, in vega10_copy_table_to_smc()
111 int vega10_enable_smc_features(struct pp_hwmgr *hwmgr, in vega10_enable_smc_features()
129 int vega10_get_enabled_smc_features(struct pp_hwmgr *hwmgr, in vega10_get_enabled_smc_features()
149 static bool vega10_is_dpm_running(struct pp_hwmgr *hwmgr) in vega10_is_dpm_running()
161 static int vega10_set_tools_address(struct pp_hwmgr *hwmgr) in vega10_set_tools_address()
178 static int vega10_verify_smc_interface(struct pp_hwmgr *hwmgr) in vega10_verify_smc_interface()
208 static int vega10_smu_init(struct pp_hwmgr *hwmgr) in vega10_smu_init()
332 static int vega10_smu_fini(struct pp_hwmgr *hwmgr) in vega10_smu_fini()
359 static int vega10_start_smu(struct pp_hwmgr *hwmgr) in vega10_start_smu()
[all …]
H A Dsmu9_smumgr.c39 bool smu9_is_smc_ram_running(struct pp_hwmgr *hwmgr) in smu9_is_smc_ram_running()
59 static uint32_t smu9_wait_for_response(struct pp_hwmgr *hwmgr) in smu9_wait_for_response()
93 static int smu9_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, in smu9_send_msg_to_smc_without_waiting()
113 int smu9_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) in smu9_send_msg_to_smc()
141 int smu9_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, in smu9_send_msg_to_smc_with_parameter()
166 uint32_t smu9_get_argument(struct pp_hwmgr *hwmgr) in smu9_get_argument()

12