Home
last modified time | relevance | path

Searched defs:hwmgr (Results 26 – 50 of 52) sorted by relevance

123

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega10_processpptables.c67 struct pp_hwmgr *hwmgr, in check_powerplay_tables()
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()
630 struct pp_hwmgr *hwmgr, in get_gfxclk_voltage_dependency_table()
693 struct pp_hwmgr *hwmgr, in get_pix_clk_voltage_dependency_table()
725 struct pp_hwmgr *hwmgr, in get_dcefclk_voltage_dependency_table()
[all …]
H A Dprocess_pptables_v1_0.c154 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()
476 struct pp_hwmgr *hwmgr, in get_pcie_table()
568 struct pp_hwmgr *hwmgr, in get_cac_tdp_table()
715 struct pp_hwmgr *hwmgr, in get_mm_clock_voltage_table()
[all …]
H A Dpp_psm.c29 int psm_init_power_state_table(struct pp_hwmgr *hwmgr) in psm_init_power_state_table()
103 int psm_fini_power_state_table(struct pp_hwmgr *hwmgr) in psm_fini_power_state_table()
120 static int psm_get_ui_state(struct pp_hwmgr *hwmgr, in psm_get_ui_state()
141 static int psm_get_state_by_classification(struct pp_hwmgr *hwmgr, in psm_get_state_by_classification()
162 static int psm_set_states(struct pp_hwmgr *hwmgr, unsigned long state_id) in psm_set_states()
182 int psm_set_boot_states(struct pp_hwmgr *hwmgr) in psm_set_boot_states()
197 int psm_set_performance_states(struct pp_hwmgr *hwmgr) in psm_set_performance_states()
212 int psm_set_user_performance_state(struct pp_hwmgr *hwmgr, in psm_set_user_performance_state()
243 static void power_state_management(struct pp_hwmgr *hwmgr, in power_state_management()
268 int psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr, bool skip_display_settings, in psm_adjust_power_state_dynamic()
H A Dvega20_processpptables.c36 static void set_hw_cap(struct pp_hwmgr *hwmgr, bool enable, in set_hw_cap()
45 static const void *get_powerplay_table(struct pp_hwmgr *hwmgr) in get_powerplay_table()
638 struct pp_hwmgr *hwmgr, in check_powerplay_tables()
660 static int set_platform_caps(struct pp_hwmgr *hwmgr, uint32_t powerplay_caps) in set_platform_caps()
686 struct pp_hwmgr *hwmgr, in copy_overdrive_feature_capabilities_array()
715 static int append_vbios_pptable(struct pp_hwmgr *hwmgr, PPTable_t *ppsmc_pptable) in append_vbios_pptable()
802 static int override_powerplay_table_fantargettemperature(struct pp_hwmgr *hwmgr) in override_powerplay_table_fantargettemperature()
815 struct pp_hwmgr *hwmgr, in init_powerplay_table_information()
908 static int vega20_pp_tables_initialize(struct pp_hwmgr *hwmgr) in vega20_pp_tables_initialize()
937 static int vega20_pp_tables_uninitialize(struct pp_hwmgr *hwmgr) in vega20_pp_tables_uninitialize()
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 Dppatomfwctrl.c55 struct pp_hwmgr *hwmgr) in pp_atomfwctrl_get_voltage_info_table()
95 int pp_atomfwctrl_get_voltage_table_v4(struct pp_hwmgr *hwmgr, in pp_atomfwctrl_get_voltage_table_v4()
163 struct pp_hwmgr *hwmgr) in pp_atomfwctrl_get_gpio_lookup_table()
208 bool pp_atomfwctrl_get_pp_assign_pin(struct pp_hwmgr *hwmgr, in pp_atomfwctrl_get_pp_assign_pin()
231 int pp_atomfwctrl_enter_self_refresh(struct pp_hwmgr *hwmgr) in pp_atomfwctrl_enter_self_refresh()
246 int pp_atomfwctrl_get_gpu_pll_dividers_vega10(struct pp_hwmgr *hwmgr, in pp_atomfwctrl_get_gpu_pll_dividers_vega10()
276 int pp_atomfwctrl_get_avfs_information(struct pp_hwmgr *hwmgr, in pp_atomfwctrl_get_avfs_information()
463 int pp_atomfwctrl_get_gpio_information(struct pp_hwmgr *hwmgr, in pp_atomfwctrl_get_gpio_information()
491 int pp_atomfwctrl_get_clk_information_by_clkid(struct pp_hwmgr *hwmgr, in pp_atomfwctrl_get_clk_information_by_clkid()
586 int pp_atomfwctrl_get_vbios_bootup_values(struct pp_hwmgr *hwmgr, in pp_atomfwctrl_get_vbios_bootup_values()
[all …]
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 Dppatomctrl.c133 struct pp_hwmgr *hwmgr, in atomctrl_initialize_mc_reg_table()
170 struct pp_hwmgr *hwmgr, in atomctrl_initialize_mc_reg_table_v2_2()
210 struct pp_hwmgr *hwmgr, in atomctrl_set_engine_dram_timings_rv770()
286 struct pp_hwmgr *hwmgr, in atomctrl_get_memory_pll_dividers_si()
410 struct pp_hwmgr *hwmgr, in atomctrl_get_engine_pll_dividers_vi()
479 struct pp_hwmgr *hwmgr, in atomctrl_get_dfs_pll_dividers_vi()
547 struct pp_hwmgr *hwmgr, in atomctrl_is_voltage_controlled_by_gpio_v3()
565 struct pp_hwmgr *hwmgr, in atomctrl_get_voltage_table_v3()
662 struct pp_hwmgr *hwmgr, in atomctrl_get_pp_assign_pin()
680 struct pp_hwmgr *hwmgr, in atomctrl_calculate_voltage_evv_on_sclk()
[all …]
H A Dsmu_helper.h180 #define PHM_WAIT_INDIRECT_REGISTER(hwmgr, port, reg, value, mask) \ argument
183 #define PHM_WAIT_INDIRECT_FIELD(hwmgr, port, reg, field, fieldval) \ argument
191 #define PHM_WAIT_INDIRECT_REGISTER_UNEQUAL(hwmgr, port, reg, value, mask) \ argument
200 #define PHM_WAIT_VFPF_INDIRECT_REGISTER_UNEQUAL_GIVEN_INDEX(hwmgr, \ 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
219 #define PHM_WAIT_VFPF_INDIRECT_REGISTER(hwmgr, port, reg, value, mask) \ argument
222 #define PHM_WAIT_VFPF_INDIRECT_FIELD(hwmgr, port, reg, field, fieldval) \ argument
227 #define PHM_WAIT_REGISTER_UNEQUAL_GIVEN_INDEX(hwmgr, \ argument
232 #define PHM_WAIT_REGISTER_UNEQUAL(hwmgr, reg, value, mask) \ 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()
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()
545 void phm_apply_dal_min_voltage_request(struct pp_hwmgr *hwmgr) in phm_apply_dal_min_voltage_request()
606 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in phm_irq_process() local
[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_baco_get_capability(struct pp_hwmgr *hwmgr, bool *cap) in vega20_baco_get_capability()
58 int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) in vega20_baco_get_state()
73 int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) in vega20_baco_set_state()
112 int vega20_baco_apply_vdci_flush_workaround(struct pp_hwmgr *hwmgr) in vega20_baco_apply_vdci_flush_workaround()
H A Dcommon_baco.c27 static bool baco_wait_register(struct pp_hwmgr *hwmgr, u32 reg, u32 mask, u32 value) in baco_wait_register()
44 static bool baco_cmd_handler(struct pp_hwmgr *hwmgr, u32 command, u32 reg, u32 mask, in baco_cmd_handler()
82 bool baco_program_registers(struct pp_hwmgr *hwmgr, in baco_program_registers()
101 bool soc15_baco_program_registers(struct pp_hwmgr *hwmgr, in soc15_baco_program_registers()
H A Dsmu7_baco.c36 int smu7_baco_get_capability(struct pp_hwmgr *hwmgr, bool *cap) in smu7_baco_get_capability()
53 int smu7_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) in smu7_baco_get_state()
68 int smu7_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) in smu7_baco_set_state()
H A Dsmu9_baco.c31 int smu9_baco_get_capability(struct pp_hwmgr *hwmgr, bool *cap) in smu9_baco_get_capability()
53 int smu9_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state) in smu9_baco_get_state()
H A Dvega12_baco.c82 int vega12_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) in vega12_baco_set_state()
H A Dvega10_baco.c84 int vega10_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) in vega10_baco_set_state()
H A Dci_baco.c155 int ci_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) in ci_baco_set_state()
H A Dfiji_baco.c153 int fiji_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) in fiji_baco_set_state()
H A Dpolaris_baco.c171 int polaris_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) in polaris_baco_set_state()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
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()
145 static bool vega10_is_dpm_running(struct pp_hwmgr *hwmgr) in vega10_is_dpm_running()
157 static int vega10_set_tools_address(struct pp_hwmgr *hwmgr) in vega10_set_tools_address()
174 static int vega10_verify_smc_interface(struct pp_hwmgr *hwmgr) in vega10_verify_smc_interface()
204 static int vega10_smu_init(struct pp_hwmgr *hwmgr) in vega10_smu_init()
328 static int vega10_smu_fini(struct pp_hwmgr *hwmgr) in vega10_smu_fini()
355 static int vega10_start_smu(struct pp_hwmgr *hwmgr) in vega10_start_smu()
[all …]
H A Dtonga_smumgr.c194 static int tonga_start_smu(struct pp_hwmgr *hwmgr) in tonga_start_smu()
227 static int tonga_smu_init(struct pp_hwmgr *hwmgr) in tonga_smu_init()
391 static int tonga_populate_cac_tables(struct pp_hwmgr *hwmgr, in tonga_populate_cac_tables()
479 static int tonga_populate_ulv_level(struct pp_hwmgr *hwmgr, in tonga_populate_ulv_level()
501 static int tonga_populate_ulv_state(struct pp_hwmgr *hwmgr, in tonga_populate_ulv_state()
788 struct pp_hwmgr *hwmgr, in tonga_calculate_mclk_params()
960 struct pp_hwmgr *hwmgr, in tonga_populate_single_memory_level()
1458 struct pp_hwmgr *hwmgr, in tonga_populate_memory_timing_parameters()
2107 struct pp_hwmgr *hwmgr, in tonga_convert_mc_reg_table_entry_to_smc()
2220 static int tonga_init_smc_table(struct pp_hwmgr *hwmgr) in tonga_init_smc_table()
[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()
202 static int smu10_smu_fini(struct pp_hwmgr *hwmgr) in smu10_smu_fini()
221 static int smu10_start_smu(struct pp_hwmgr *hwmgr) in smu10_start_smu()
[all …]
H A Dvega12_smumgr.c40 static int vega12_copy_table_from_smc(struct pp_hwmgr *hwmgr, in vega12_copy_table_from_smc()
84 static int vega12_copy_table_to_smc(struct pp_hwmgr *hwmgr, in vega12_copy_table_to_smc()
125 int vega12_enable_smc_features(struct pp_hwmgr *hwmgr, in vega12_enable_smc_features()
156 int vega12_get_enabled_smc_features(struct pp_hwmgr *hwmgr, in vega12_get_enabled_smc_features()
182 static bool vega12_is_dpm_running(struct pp_hwmgr *hwmgr) in vega12_is_dpm_running()
194 static int vega12_set_tools_address(struct pp_hwmgr *hwmgr) in vega12_set_tools_address()
212 static int vega12_smu_init(struct pp_hwmgr *hwmgr) in vega12_smu_init()
347 static int vega12_smu_fini(struct pp_hwmgr *hwmgr) in vega12_smu_fini()
378 static int vega12_start_smu(struct pp_hwmgr *hwmgr) in vega12_start_smu()
389 static int vega12_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table, in vega12_smc_table_manager()
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()

123