Home
last modified time | relevance | path

Searched refs:pp_hwmgr (Results 1 - 25 of 175) sorted by relevance

1234567

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h34 struct pp_hwmgr;
201 int (*smu_init)(struct pp_hwmgr *hwmgr);
202 int (*smu_fini)(struct pp_hwmgr *hwmgr);
203 int (*start_smu)(struct pp_hwmgr *hwmgr);
204 int (*check_fw_load_finish)(struct pp_hwmgr *hwmgr,
206 int (*request_smu_load_fw)(struct pp_hwmgr *hwmgr);
207 int (*request_smu_load_specific_fw)(struct pp_hwmgr *hwmgr,
209 uint32_t (*get_argument)(struct pp_hwmgr *hwmgr);
210 int (*send_msg_to_smc)(struct pp_hwmgr *hwmgr, uint16_t msg);
211 int (*send_msg_to_smc_with_parameter)(struct pp_hwmgr *hwmg
743 struct pp_hwmgr { global() struct
[all...]
H A Dsmumgr.h84 extern int smum_download_powerplay_table(struct pp_hwmgr *hwmgr, void **table);
86 extern int smum_upload_powerplay_table(struct pp_hwmgr *hwmgr);
88 extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t *resp);
90 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);
100 extern int smum_init_smc_table(struct pp_hwmgr *hwmg
[all...]
H A Dhardwaremanager.h28 struct pp_hwmgr;
398 extern int phm_disable_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 int phm_set_power_state(struct pp_hwmgr *hwmgr,
407 extern int phm_apply_state_adjust_rules(struct pp_hwmgr *hwmgr,
411 extern int phm_apply_clock_adjust_rules(struct pp_hwmgr *hwmgr);
413 extern int phm_force_dpm_levels(struct pp_hwmgr *hwmg
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
H A Dhwmgr.h34 struct pp_hwmgr;
202 int (*smu_init)(struct pp_hwmgr *hwmgr);
203 int (*smu_fini)(struct pp_hwmgr *hwmgr);
204 int (*start_smu)(struct pp_hwmgr *hwmgr);
205 int (*check_fw_load_finish)(struct pp_hwmgr *hwmgr,
207 int (*request_smu_load_fw)(struct pp_hwmgr *hwmgr);
208 int (*request_smu_load_specific_fw)(struct pp_hwmgr *hwmgr,
210 uint32_t (*get_argument)(struct pp_hwmgr *hwmgr);
211 int (*send_msg_to_smc)(struct pp_hwmgr *hwmgr, uint16_t msg);
212 int (*send_msg_to_smc_with_parameter)(struct pp_hwmgr *hwmg
744 struct pp_hwmgr { global() struct
[all...]
H A Dsmumgr.h84 extern int smum_download_powerplay_table(struct pp_hwmgr *hwmgr, void **table);
86 extern int smum_upload_powerplay_table(struct pp_hwmgr *hwmgr);
88 extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg, uint32_t *resp);
90 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);
100 extern int smum_init_smc_table(struct pp_hwmgr *hwmg
[all...]
H A Dhardwaremanager.h28 struct pp_hwmgr;
399 extern int phm_disable_clock_power_gatings(struct pp_hwmgr *hwmgr);
400 extern int phm_powerdown_uvd(struct pp_hwmgr *hwmgr);
401 extern int phm_setup_asic(struct pp_hwmgr *hwmgr);
402 extern int phm_enable_dynamic_state_management(struct pp_hwmgr *hwmgr);
403 extern int phm_disable_dynamic_state_management(struct pp_hwmgr *hwmgr);
404 extern bool phm_is_hw_access_blocked(struct pp_hwmgr *hwmgr);
405 extern int phm_block_hw_access(struct pp_hwmgr *hwmgr, bool block);
406 extern int phm_set_power_state(struct pp_hwmgr *hwmgr,
410 extern int phm_apply_state_adjust_rules(struct pp_hwmgr *hwmg
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_thermal.h41 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_speed_info);
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 *hwmg
[all...]
H A Dvega10_thermal.h53 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 *hwmg
[all...]
H A Dvega20_thermal.h52 extern int vega20_thermal_get_temperature(struct pp_hwmgr *hwmgr);
53 extern int vega20_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr,
55 extern int vega20_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr,
57 extern int vega20_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr,
59 extern int vega20_fan_ctrl_get_fan_speed_percent(struct pp_hwmgr *hwmgr,
61 extern int vega20_fan_ctrl_set_fan_speed_percent(struct pp_hwmgr *hwmgr,
63 extern int vega20_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr);
64 extern int vega20_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr);
65 extern int vega20_thermal_disable_alert(struct pp_hwmgr *hwmgr);
66 extern int vega20_start_thermal_controller(struct pp_hwmgr *hwmg
[all...]
H A Dppatomctrl.h281 extern bool atomctrl_get_pp_assign_pin(struct pp_hwmgr *hwmgr, const uint32_t pinId, pp_atomctrl_gpio_pin_assignment *gpio_pin_assignment);
282 extern int atomctrl_get_voltage_evv_on_sclk(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint32_t sclk, uint16_t virtual_voltage_Id, uint16_t *voltage);
283 extern int atomctrl_get_voltage_evv(struct pp_hwmgr *hwmgr, uint16_t virtual_voltage_id, uint16_t *voltage);
284 extern uint32_t atomctrl_get_mpll_reference_clock(struct pp_hwmgr *hwmgr);
285 extern int atomctrl_get_memory_clock_spread_spectrum(struct pp_hwmgr *hwmgr, const uint32_t memory_clock, pp_atomctrl_internal_ss_info *ssInfo);
286 extern int atomctrl_get_engine_clock_spread_spectrum(struct pp_hwmgr *hwmgr, const uint32_t engine_clock, pp_atomctrl_internal_ss_info *ssInfo);
287 extern int atomctrl_initialize_mc_reg_table(struct pp_hwmgr *hwmgr, uint8_t module_index, pp_atomctrl_mc_reg_table *table);
288 extern int atomctrl_set_engine_dram_timings_rv770(struct pp_hwmgr *hwmgr, uint32_t engine_clock, uint32_t memory_clock);
289 extern uint32_t atomctrl_get_reference_clock(struct pp_hwmgr *hwmgr);
290 extern int atomctrl_get_memory_pll_dividers_si(struct pp_hwmgr *hwmg
[all...]
H A Dvega10_powertune.h69 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 *hwmg
[all...]
H A Dvega12_thermal.h52 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,
H A Dhardwaremanager.c39 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()
96 int phm_disable_dynamic_state_management(struct pp_hwmgr *hwmgr) in phm_disable_dynamic_state_management()
116 int phm_force_dpm_levels(struct pp_hwmgr *hwmgr, enum amd_dpm_forced_level level) in phm_force_dpm_levels()
128 int phm_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, in phm_apply_state_adjust_rules()
142 int phm_apply_clock_adjust_rules(struct pp_hwmgr *hwmgr) in phm_apply_clock_adjust_rules()
151 int phm_powerdown_uvd(struct pp_hwmgr *hwmgr) in phm_powerdown_uvd()
161 int phm_disable_clock_power_gatings(struct pp_hwmgr *hwmg
[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()
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 *hwmg
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_thermal.h41 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_speed_info);
44 extern int smu7_fan_ctrl_get_fan_speed_pwm(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_pwm(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 *hwmg
[all...]
H A Dvega10_thermal.h53 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_pwm(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_pwm(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 *hwmg
[all...]
H A Dppatomctrl.h293 extern bool atomctrl_get_pp_assign_pin(struct pp_hwmgr *hwmgr, const uint32_t pinId, pp_atomctrl_gpio_pin_assignment *gpio_pin_assignment);
294 extern int atomctrl_get_voltage_evv_on_sclk(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint32_t sclk, uint16_t virtual_voltage_Id, uint16_t *voltage);
295 extern int atomctrl_get_voltage_evv(struct pp_hwmgr *hwmgr, uint16_t virtual_voltage_id, uint16_t *voltage);
296 extern uint32_t atomctrl_get_mpll_reference_clock(struct pp_hwmgr *hwmgr);
298 bool atomctrl_is_asic_internal_ss_supported(struct pp_hwmgr *hwmgr);
299 extern int atomctrl_get_memory_clock_spread_spectrum(struct pp_hwmgr *hwmgr, const uint32_t memory_clock, pp_atomctrl_internal_ss_info *ssInfo);
300 extern int atomctrl_get_engine_clock_spread_spectrum(struct pp_hwmgr *hwmgr, const uint32_t engine_clock, pp_atomctrl_internal_ss_info *ssInfo);
301 extern int atomctrl_initialize_mc_reg_table(struct pp_hwmgr *hwmgr, uint8_t module_index, pp_atomctrl_mc_reg_table *table);
302 extern int atomctrl_initialize_mc_reg_table_v2_2(struct pp_hwmgr *hwmgr, uint8_t module_index, pp_atomctrl_mc_reg_table *table);
303 extern int atomctrl_set_engine_dram_timings_rv770(struct pp_hwmgr *hwmg
[all...]
H A Dvega20_thermal.h52 extern int vega20_thermal_get_temperature(struct pp_hwmgr *hwmgr);
53 extern int vega20_fan_ctrl_get_fan_speed_info(struct pp_hwmgr *hwmgr,
55 extern int vega20_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr,
57 extern int vega20_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr,
59 extern int vega20_fan_ctrl_get_fan_speed_pwm(struct pp_hwmgr *hwmgr,
61 extern int vega20_fan_ctrl_set_fan_speed_pwm(struct pp_hwmgr *hwmgr,
63 extern int vega20_fan_ctrl_stop_smc_fan_control(struct pp_hwmgr *hwmgr);
64 extern int vega20_fan_ctrl_start_smc_fan_control(struct pp_hwmgr *hwmgr);
65 extern int vega20_thermal_disable_alert(struct pp_hwmgr *hwmgr);
66 extern int vega20_start_thermal_controller(struct pp_hwmgr *hwmg
[all...]
H A Dvega10_powertune.h69 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 *hwmg
[all...]
H A Dvega12_thermal.h52 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,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dsmu7_smumgr.h56 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_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg,
65 uint32_t smu7_get_argument(struct pp_hwmgr *hwmgr);
66 int smu7_send_msg_to_smc_offset(struct pp_hwmgr *hwmgr);
69 int smu7_read_smc_sram_dword(struct pp_hwmgr *hwmgr, uint32_t smc_addr,
71 int smu7_write_smc_sram_dword(struct pp_hwmgr *hwmg
[all...]
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 *hwmg
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dsmu7_smumgr.h56 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_with_parameter(struct pp_hwmgr *hwmgr, uint16_t msg,
65 uint32_t smu7_get_argument(struct pp_hwmgr *hwmgr);
66 int smu7_send_msg_to_smc_offset(struct pp_hwmgr *hwmgr);
69 int smu7_read_smc_sram_dword(struct pp_hwmgr *hwmgr, uint32_t smc_addr,
71 int smu7_write_smc_sram_dword(struct pp_hwmgr *hwmg
[all...]
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 *hwmg
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/
H A Damd_powerplay.c42 struct pp_hwmgr *hwmgr; in amd_powerplay_create()
47 hwmgr = kzalloc(sizeof(struct pp_hwmgr), GFP_KERNEL); in amd_powerplay_create()
67 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in amd_powerplay_destroy()
97 struct pp_hwmgr *hwmgr = in pp_swctf_delayed_work_handler()
98 container_of(work, struct pp_hwmgr, swctf_delayed_work.work); in pp_swctf_delayed_work_handler()
137 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_sw_init()
154 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_sw_fini()
167 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_hw_init()
180 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_hw_fini()
194 struct pp_hwmgr *hwmg in pp_reserve_vram_for_smu()
[all...]

Completed in 15 milliseconds

1234567