Lines Matching defs:hwmgr

115 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 void vega10_init_dpm_defaults(struct pp_hwmgr *hwmgr) in vega10_init_dpm_defaults()
515 static int vega10_get_socclk_for_voltage_evv(struct pp_hwmgr *hwmgr, in vega10_get_socclk_for_voltage_evv()
551 static int vega10_get_evv_voltages(struct pp_hwmgr *hwmgr) in vega10_get_evv_voltages()
608 static void vega10_patch_with_vdd_leakage(struct pp_hwmgr *hwmgr, in vega10_patch_with_vdd_leakage()
635 static int vega10_patch_lookup_table_with_leakage(struct pp_hwmgr *hwmgr, in vega10_patch_lookup_table_with_leakage()
649 struct pp_hwmgr *hwmgr, struct vega10_leakage_voltage *leakage_table, in vega10_patch_clock_voltage_limits_with_vddc_leakage()
659 struct pp_hwmgr *hwmgr) in vega10_patch_voltage_dependency_tables_with_lookup_table()
711 static int vega10_sort_lookup_table(struct pp_hwmgr *hwmgr, in vega10_sort_lookup_table()
735 static int vega10_complete_dependency_tables(struct pp_hwmgr *hwmgr) in vega10_complete_dependency_tables()
766 static int vega10_set_private_data_based_on_pptable(struct pp_hwmgr *hwmgr) in vega10_set_private_data_based_on_pptable()
806 static int vega10_hwmgr_backend_fini(struct pp_hwmgr *hwmgr) in vega10_hwmgr_backend_fini()
817 static int vega10_hwmgr_backend_init(struct pp_hwmgr *hwmgr) in vega10_hwmgr_backend_init()
942 static int vega10_init_sclk_threshold(struct pp_hwmgr *hwmgr) in vega10_init_sclk_threshold()
951 static int vega10_setup_dpm_led_config(struct pp_hwmgr *hwmgr) in vega10_setup_dpm_led_config()
983 static int vega10_setup_asic_task(struct pp_hwmgr *hwmgr) in vega10_setup_asic_task()
1011 static int vega10_trim_voltage_table(struct pp_hwmgr *hwmgr, in vega10_trim_voltage_table()
1055 static int vega10_get_mvdd_voltage_table(struct pp_hwmgr *hwmgr, in vega10_get_mvdd_voltage_table()
1082 static int vega10_get_vddci_voltage_table(struct pp_hwmgr *hwmgr, in vega10_get_vddci_voltage_table()
1108 static int vega10_get_vdd_voltage_table(struct pp_hwmgr *hwmgr, in vega10_get_vdd_voltage_table()
1136 struct pp_hwmgr *hwmgr, in vega10_trim_voltage_table_to_fit_state_table()
1159 static int vega10_construct_voltage_tables(struct pp_hwmgr *hwmgr) in vega10_construct_voltage_tables()
1229 static void vega10_setup_default_single_dpm_table(struct pp_hwmgr *hwmgr, in vega10_setup_default_single_dpm_table()
1247 static int vega10_setup_default_pcie_table(struct pp_hwmgr *hwmgr) in vega10_setup_default_pcie_table()
1296 static int vega10_setup_default_dpm_tables(struct pp_hwmgr *hwmgr) in vega10_setup_default_dpm_tables()
1466 static int vega10_populate_ulv_state(struct pp_hwmgr *hwmgr) in vega10_populate_ulv_state()
1489 static int vega10_populate_single_lclk_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_lclk_level()
1506 static int vega10_override_pcie_parameters(struct pp_hwmgr *hwmgr) in vega10_override_pcie_parameters()
1555 static int vega10_populate_smc_link_levels(struct pp_hwmgr *hwmgr) in vega10_populate_smc_link_levels()
1602 static int vega10_populate_single_gfx_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_gfx_level()
1669 static int vega10_populate_single_soc_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_soc_level()
1716 static int vega10_populate_all_graphic_levels(struct pp_hwmgr *hwmgr) in vega10_populate_all_graphic_levels()
1773 static void vega10_populate_vddc_soc_levels(struct pp_hwmgr *hwmgr) in vega10_populate_vddc_soc_levels()
1806 static int vega10_populate_single_memory_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_memory_level()
1867 static int vega10_populate_all_memory_levels(struct pp_hwmgr *hwmgr) in vega10_populate_all_memory_levels()
1909 static int vega10_populate_single_display_type(struct pp_hwmgr *hwmgr, in vega10_populate_single_display_type()
1965 static int vega10_populate_all_display_clock_levels(struct pp_hwmgr *hwmgr) in vega10_populate_all_display_clock_levels()
1978 static int vega10_populate_single_eclock_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_eclock_level()
2005 static int vega10_populate_smc_vce_levels(struct pp_hwmgr *hwmgr) in vega10_populate_smc_vce_levels()
2036 static int vega10_populate_single_vclock_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_vclock_level()
2052 static int vega10_populate_single_dclock_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_dclock_level()
2068 static int vega10_populate_smc_uvd_levels(struct pp_hwmgr *hwmgr) in vega10_populate_smc_uvd_levels()
2139 static int vega10_populate_clock_stretcher_table(struct pp_hwmgr *hwmgr) in vega10_populate_clock_stretcher_table()
2158 static int vega10_populate_avfs_parameters(struct pp_hwmgr *hwmgr) in vega10_populate_avfs_parameters()
2349 static int vega10_acg_enable(struct pp_hwmgr *hwmgr) in vega10_acg_enable()
2380 static int vega10_acg_disable(struct pp_hwmgr *hwmgr) in vega10_acg_disable()
2393 static int vega10_populate_gpio_parameters(struct pp_hwmgr *hwmgr) in vega10_populate_gpio_parameters()
2428 static int vega10_avfs_enable(struct pp_hwmgr *hwmgr, bool enable) in vega10_avfs_enable()
2457 static int vega10_update_avfs(struct pp_hwmgr *hwmgr) in vega10_update_avfs()
2473 static int vega10_populate_and_upload_avfs_fuse_override(struct pp_hwmgr *hwmgr) in vega10_populate_and_upload_avfs_fuse_override()
2510 static void vega10_check_dpm_table_updated(struct pp_hwmgr *hwmgr) in vega10_check_dpm_table_updated()
2545 static int vega10_init_smc_table(struct pp_hwmgr *hwmgr) in vega10_init_smc_table()
2713 static int vega10_enable_thermal_protection(struct pp_hwmgr *hwmgr) in vega10_enable_thermal_protection()
2733 static int vega10_disable_thermal_protection(struct pp_hwmgr *hwmgr) in vega10_disable_thermal_protection()
2753 static int vega10_enable_vrhot_feature(struct pp_hwmgr *hwmgr) in vega10_enable_vrhot_feature()
2781 static int vega10_enable_ulv(struct pp_hwmgr *hwmgr) in vega10_enable_ulv()
2796 static int vega10_disable_ulv(struct pp_hwmgr *hwmgr) in vega10_disable_ulv()
2811 static int vega10_enable_deep_sleep_master_switch(struct pp_hwmgr *hwmgr) in vega10_enable_deep_sleep_master_switch()
2850 static int vega10_disable_deep_sleep_master_switch(struct pp_hwmgr *hwmgr) in vega10_disable_deep_sleep_master_switch()
2889 static int vega10_stop_dpm(struct pp_hwmgr *hwmgr, uint32_t bitmap) in vega10_stop_dpm()
2928 static int vega10_start_dpm(struct pp_hwmgr *hwmgr, uint32_t bitmap) in vega10_start_dpm()
2990 static int vega10_enable_disable_PCC_limit_feature(struct pp_hwmgr *hwmgr, bool enable) in vega10_enable_disable_PCC_limit_feature()
3007 static void vega10_populate_umdpstate_clocks(struct pp_hwmgr *hwmgr) in vega10_populate_umdpstate_clocks()
3031 static int vega10_enable_dpm_tasks(struct pp_hwmgr *hwmgr) in vega10_enable_dpm_tasks()
3110 static int vega10_get_power_state_size(struct pp_hwmgr *hwmgr) in vega10_get_power_state_size()
3115 static int vega10_get_pp_table_entry_callback_func(struct pp_hwmgr *hwmgr, in vega10_get_pp_table_entry_callback_func()
3222 static int vega10_get_pp_table_entry(struct pp_hwmgr *hwmgr, in vega10_get_pp_table_entry()
3251 static int vega10_patch_boot_state(struct pp_hwmgr *hwmgr, in vega10_patch_boot_state()
3257 static int vega10_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, in vega10_apply_state_adjust_rules()
3410 static int vega10_find_dpm_states_clocks_in_dpm_table(struct pp_hwmgr *hwmgr, const void *input) in vega10_find_dpm_states_clocks_in_dpm_table()
3456 struct pp_hwmgr *hwmgr, const void *input) in vega10_populate_and_upload_sclk_mclk_dpm_levels()
3500 static int vega10_trim_single_dpm_states(struct pp_hwmgr *hwmgr, in vega10_trim_single_dpm_states()
3516 static int vega10_trim_single_dpm_states_with_mask(struct pp_hwmgr *hwmgr, in vega10_trim_single_dpm_states_with_mask()
3535 static int vega10_trim_dpm_states(struct pp_hwmgr *hwmgr, in vega10_trim_dpm_states()
3598 struct pp_hwmgr *hwmgr) in vega10_apply_dal_minimum_voltage_request()
3603 static int vega10_get_soc_index_for_max_uclk(struct pp_hwmgr *hwmgr) in vega10_get_soc_index_for_max_uclk()
3614 static int vega10_upload_dpm_bootup_level(struct pp_hwmgr *hwmgr) in vega10_upload_dpm_bootup_level()
3673 static int vega10_upload_dpm_max_level(struct pp_hwmgr *hwmgr) in vega10_upload_dpm_max_level()
3722 struct pp_hwmgr *hwmgr, const void *input) in vega10_generate_dpm_level_enable_mask()
3767 int vega10_enable_disable_vce_dpm(struct pp_hwmgr *hwmgr, bool enable) in vega10_enable_disable_vce_dpm()
3783 static int vega10_update_sclk_threshold(struct pp_hwmgr *hwmgr) in vega10_update_sclk_threshold()
3806 static int vega10_set_power_state_tasks(struct pp_hwmgr *hwmgr, in vega10_set_power_state_tasks()
3855 static uint32_t vega10_dpm_get_sclk(struct pp_hwmgr *hwmgr, bool low) in vega10_dpm_get_sclk()
3877 static uint32_t vega10_dpm_get_mclk(struct pp_hwmgr *hwmgr, bool low) in vega10_dpm_get_mclk()
3899 static int vega10_get_gpu_power(struct pp_hwmgr *hwmgr, in vega10_get_gpu_power()
3915 static int vega10_read_sensor(struct pp_hwmgr *hwmgr, int idx, in vega10_read_sensor()
3991 static void vega10_notify_smc_display_change(struct pp_hwmgr *hwmgr, in vega10_notify_smc_display_change()
4000 static int vega10_display_clock_voltage_request(struct pp_hwmgr *hwmgr, in vega10_display_clock_voltage_request()
4039 static uint8_t vega10_get_uclk_index(struct pp_hwmgr *hwmgr, in vega10_get_uclk_index()
4060 struct pp_hwmgr *hwmgr) in vega10_notify_smc_display_config_after_ps_adjustment()
4114 static int vega10_force_dpm_highest(struct pp_hwmgr *hwmgr) in vega10_force_dpm_highest()
4136 static int vega10_force_dpm_lowest(struct pp_hwmgr *hwmgr) in vega10_force_dpm_lowest()
4159 static int vega10_unforce_dpm_levels(struct pp_hwmgr *hwmgr) in vega10_unforce_dpm_levels()
4182 static int vega10_get_profiling_clk_mask(struct pp_hwmgr *hwmgr, enum amd_dpm_forced_level level, in vega10_get_profiling_clk_mask()
4215 static void vega10_set_fan_control_mode(struct pp_hwmgr *hwmgr, uint32_t mode) in vega10_set_fan_control_mode()
4237 static int vega10_force_clock_level(struct pp_hwmgr *hwmgr, in vega10_force_clock_level()
4296 static int vega10_dpm_force_dpm_level(struct pp_hwmgr *hwmgr, in vega10_dpm_force_dpm_level()
4343 static uint32_t vega10_get_fan_control_mode(struct pp_hwmgr *hwmgr) in vega10_get_fan_control_mode()
4353 static int vega10_get_dal_power_level(struct pp_hwmgr *hwmgr, in vega10_get_dal_power_level()
4367 static void vega10_get_sclks(struct pp_hwmgr *hwmgr, in vega10_get_sclks()
4387 static void vega10_get_memclocks(struct pp_hwmgr *hwmgr, in vega10_get_memclocks()
4413 static void vega10_get_dcefclocks(struct pp_hwmgr *hwmgr, in vega10_get_dcefclocks()
4429 static void vega10_get_socclocks(struct pp_hwmgr *hwmgr, in vega10_get_socclocks()
4445 static int vega10_get_clock_by_type_with_latency(struct pp_hwmgr *hwmgr, in vega10_get_clock_by_type_with_latency()
4469 static int vega10_get_clock_by_type_with_voltage(struct pp_hwmgr *hwmgr, in vega10_get_clock_by_type_with_voltage()
4511 static int vega10_set_watermarks_for_clocks_ranges(struct pp_hwmgr *hwmgr, in vega10_set_watermarks_for_clocks_ranges()
4526 static int vega10_get_ppfeature_status(struct pp_hwmgr *hwmgr, char *buf) in vega10_get_ppfeature_status()
4590 static int vega10_set_ppfeature_status(struct pp_hwmgr *hwmgr, uint64_t new_ppfeature_masks) in vega10_set_ppfeature_status()
4627 static int vega10_get_current_pcie_link_width_level(struct pp_hwmgr *hwmgr) in vega10_get_current_pcie_link_width_level()
4636 static int vega10_get_current_pcie_link_speed_level(struct pp_hwmgr *hwmgr) in vega10_get_current_pcie_link_speed_level()
4645 static int vega10_emit_clock_levels(struct pp_hwmgr *hwmgr, in vega10_emit_clock_levels()
4791 static int vega10_print_clock_levels(struct pp_hwmgr *hwmgr, in vega10_print_clock_levels()
4923 static int vega10_display_configuration_changed_task(struct pp_hwmgr *hwmgr) in vega10_display_configuration_changed_task()
4945 static int vega10_enable_disable_uvd_dpm(struct pp_hwmgr *hwmgr, bool enable) in vega10_enable_disable_uvd_dpm()
4960 static void vega10_power_gate_vce(struct pp_hwmgr *hwmgr, bool bgate) in vega10_power_gate_vce()
4968 static void vega10_power_gate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in vega10_power_gate_uvd()
4985 static int vega10_check_states_equal(struct pp_hwmgr *hwmgr, in vega10_check_states_equal()
5029 vega10_check_smc_update_required_for_display_configuration(struct pp_hwmgr *hwmgr) in vega10_check_smc_update_required_for_display_configuration()
5045 static int vega10_disable_dpm_tasks(struct pp_hwmgr *hwmgr) in vega10_disable_dpm_tasks()
5087 static int vega10_power_off_asic(struct pp_hwmgr *hwmgr) in vega10_power_off_asic()
5101 static int vega10_get_sclk_od(struct pp_hwmgr *hwmgr) in vega10_get_sclk_od()
5117 static int vega10_set_sclk_od(struct pp_hwmgr *hwmgr, uint32_t value) in vega10_set_sclk_od()
5152 static int vega10_get_mclk_od(struct pp_hwmgr *hwmgr) in vega10_get_mclk_od()
5168 static int vega10_set_mclk_od(struct pp_hwmgr *hwmgr, uint32_t value) in vega10_set_mclk_od()
5204 static int vega10_notify_cac_buffer_info(struct pp_hwmgr *hwmgr, in vega10_notify_cac_buffer_info()
5236 static int vega10_get_thermal_temperature_range(struct pp_hwmgr *hwmgr, in vega10_get_thermal_temperature_range()
5270 static int vega10_get_power_profile_mode(struct pp_hwmgr *hwmgr, char *buf) in vega10_get_power_profile_mode()
5309 static bool vega10_get_power_profile_mode_quirks(struct pp_hwmgr *hwmgr) in vega10_get_power_profile_mode_quirks()
5316 static int vega10_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uint32_t size) in vega10_set_power_profile_mode()
5367 static bool vega10_check_clk_voltage_valid(struct pp_hwmgr *hwmgr, in vega10_check_clk_voltage_valid()
5406 static void vega10_odn_update_power_state(struct pp_hwmgr *hwmgr) in vega10_odn_update_power_state()
5463 static void vega10_odn_update_soc_table(struct pp_hwmgr *hwmgr, in vega10_odn_update_soc_table()
5534 static int vega10_odn_edit_dpm_table(struct pp_hwmgr *hwmgr, in vega10_odn_edit_dpm_table()
5600 static int vega10_set_mp1_state(struct pp_hwmgr *hwmgr, in vega10_set_mp1_state()
5624 static int vega10_get_performance_level(struct pp_hwmgr *hwmgr, const struct pp_hw_power_state *sta… in vega10_get_performance_level()
5645 static int vega10_disable_power_features_for_compute_performance(struct pp_hwmgr *hwmgr, bool disab… in vega10_disable_power_features_for_compute_performance()
5770 int vega10_hwmgr_init(struct pp_hwmgr *hwmgr) in vega10_hwmgr_init()