Lines Matching defs:hwmgr

116 static void vega10_set_default_registry_data(struct pp_hwmgr *hwmgr)  in vega10_set_default_registry_data()
194 static int vega10_set_features_platform_caps(struct pp_hwmgr *hwmgr) in vega10_set_features_platform_caps()
304 static int vega10_odn_initial_default_setting(struct pp_hwmgr *hwmgr) in vega10_odn_initial_default_setting()
358 static void vega10_init_dpm_defaults(struct pp_hwmgr *hwmgr) in vega10_init_dpm_defaults()
516 static int vega10_get_socclk_for_voltage_evv(struct pp_hwmgr *hwmgr, in vega10_get_socclk_for_voltage_evv()
552 static int vega10_get_evv_voltages(struct pp_hwmgr *hwmgr) in vega10_get_evv_voltages()
609 static void vega10_patch_with_vdd_leakage(struct pp_hwmgr *hwmgr, in vega10_patch_with_vdd_leakage()
636 static int vega10_patch_lookup_table_with_leakage(struct pp_hwmgr *hwmgr, in vega10_patch_lookup_table_with_leakage()
650 struct pp_hwmgr *hwmgr, struct vega10_leakage_voltage *leakage_table, in vega10_patch_clock_voltage_limits_with_vddc_leakage()
660 struct pp_hwmgr *hwmgr) in vega10_patch_voltage_dependency_tables_with_lookup_table()
712 static int vega10_sort_lookup_table(struct pp_hwmgr *hwmgr, in vega10_sort_lookup_table()
736 static int vega10_complete_dependency_tables(struct pp_hwmgr *hwmgr) in vega10_complete_dependency_tables()
767 static int vega10_set_private_data_based_on_pptable(struct pp_hwmgr *hwmgr) in vega10_set_private_data_based_on_pptable()
807 static int vega10_hwmgr_backend_fini(struct pp_hwmgr *hwmgr) in vega10_hwmgr_backend_fini()
818 static int vega10_hwmgr_backend_init(struct pp_hwmgr *hwmgr) in vega10_hwmgr_backend_init()
943 static int vega10_init_sclk_threshold(struct pp_hwmgr *hwmgr) in vega10_init_sclk_threshold()
952 static int vega10_setup_dpm_led_config(struct pp_hwmgr *hwmgr) in vega10_setup_dpm_led_config()
984 static int vega10_setup_asic_task(struct pp_hwmgr *hwmgr) in vega10_setup_asic_task()
1012 static int vega10_trim_voltage_table(struct pp_hwmgr *hwmgr, in vega10_trim_voltage_table()
1056 static int vega10_get_mvdd_voltage_table(struct pp_hwmgr *hwmgr, in vega10_get_mvdd_voltage_table()
1083 static int vega10_get_vddci_voltage_table(struct pp_hwmgr *hwmgr, in vega10_get_vddci_voltage_table()
1109 static int vega10_get_vdd_voltage_table(struct pp_hwmgr *hwmgr, in vega10_get_vdd_voltage_table()
1137 struct pp_hwmgr *hwmgr, in vega10_trim_voltage_table_to_fit_state_table()
1160 static int vega10_construct_voltage_tables(struct pp_hwmgr *hwmgr) in vega10_construct_voltage_tables()
1230 static void vega10_setup_default_single_dpm_table(struct pp_hwmgr *hwmgr, in vega10_setup_default_single_dpm_table()
1248 static int vega10_setup_default_pcie_table(struct pp_hwmgr *hwmgr) in vega10_setup_default_pcie_table()
1297 static int vega10_setup_default_dpm_tables(struct pp_hwmgr *hwmgr) in vega10_setup_default_dpm_tables()
1470 static int vega10_populate_ulv_state(struct pp_hwmgr *hwmgr) in vega10_populate_ulv_state()
1493 static int vega10_populate_single_lclk_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_lclk_level()
1510 static int vega10_override_pcie_parameters(struct pp_hwmgr *hwmgr) in vega10_override_pcie_parameters()
1559 static int vega10_populate_smc_link_levels(struct pp_hwmgr *hwmgr) in vega10_populate_smc_link_levels()
1606 static int vega10_populate_single_gfx_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_gfx_level()
1673 static int vega10_populate_single_soc_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_soc_level()
1720 static int vega10_populate_all_graphic_levels(struct pp_hwmgr *hwmgr) in vega10_populate_all_graphic_levels()
1777 static void vega10_populate_vddc_soc_levels(struct pp_hwmgr *hwmgr) in vega10_populate_vddc_soc_levels()
1810 static int vega10_populate_single_memory_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_memory_level()
1871 static int vega10_populate_all_memory_levels(struct pp_hwmgr *hwmgr) in vega10_populate_all_memory_levels()
1913 static int vega10_populate_single_display_type(struct pp_hwmgr *hwmgr, in vega10_populate_single_display_type()
1969 static int vega10_populate_all_display_clock_levels(struct pp_hwmgr *hwmgr) in vega10_populate_all_display_clock_levels()
1982 static int vega10_populate_single_eclock_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_eclock_level()
2009 static int vega10_populate_smc_vce_levels(struct pp_hwmgr *hwmgr) in vega10_populate_smc_vce_levels()
2040 static int vega10_populate_single_vclock_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_vclock_level()
2056 static int vega10_populate_single_dclock_level(struct pp_hwmgr *hwmgr, in vega10_populate_single_dclock_level()
2072 static int vega10_populate_smc_uvd_levels(struct pp_hwmgr *hwmgr) in vega10_populate_smc_uvd_levels()
2143 static int vega10_populate_clock_stretcher_table(struct pp_hwmgr *hwmgr) in vega10_populate_clock_stretcher_table()
2162 static int vega10_populate_avfs_parameters(struct pp_hwmgr *hwmgr) in vega10_populate_avfs_parameters()
2353 static int vega10_acg_enable(struct pp_hwmgr *hwmgr) in vega10_acg_enable()
2384 static int vega10_acg_disable(struct pp_hwmgr *hwmgr) in vega10_acg_disable()
2397 static int vega10_populate_gpio_parameters(struct pp_hwmgr *hwmgr) in vega10_populate_gpio_parameters()
2432 static int vega10_avfs_enable(struct pp_hwmgr *hwmgr, bool enable) in vega10_avfs_enable()
2461 static int vega10_update_avfs(struct pp_hwmgr *hwmgr) in vega10_update_avfs()
2477 static int vega10_populate_and_upload_avfs_fuse_override(struct pp_hwmgr *hwmgr) in vega10_populate_and_upload_avfs_fuse_override()
2514 static void vega10_check_dpm_table_updated(struct pp_hwmgr *hwmgr) in vega10_check_dpm_table_updated()
2549 static int vega10_init_smc_table(struct pp_hwmgr *hwmgr) in vega10_init_smc_table()
2717 static int vega10_enable_thermal_protection(struct pp_hwmgr *hwmgr) in vega10_enable_thermal_protection()
2737 static int vega10_disable_thermal_protection(struct pp_hwmgr *hwmgr) in vega10_disable_thermal_protection()
2757 static int vega10_enable_vrhot_feature(struct pp_hwmgr *hwmgr) in vega10_enable_vrhot_feature()
2785 static int vega10_enable_ulv(struct pp_hwmgr *hwmgr) in vega10_enable_ulv()
2800 static int vega10_disable_ulv(struct pp_hwmgr *hwmgr) in vega10_disable_ulv()
2815 static int vega10_enable_deep_sleep_master_switch(struct pp_hwmgr *hwmgr) in vega10_enable_deep_sleep_master_switch()
2854 static int vega10_disable_deep_sleep_master_switch(struct pp_hwmgr *hwmgr) in vega10_disable_deep_sleep_master_switch()
2893 static int vega10_stop_dpm(struct pp_hwmgr *hwmgr, uint32_t bitmap) in vega10_stop_dpm()
2932 static int vega10_start_dpm(struct pp_hwmgr *hwmgr, uint32_t bitmap) in vega10_start_dpm()
2994 static int vega10_enable_disable_PCC_limit_feature(struct pp_hwmgr *hwmgr, bool enable) in vega10_enable_disable_PCC_limit_feature()
3011 static int vega10_enable_dpm_tasks(struct pp_hwmgr *hwmgr) in vega10_enable_dpm_tasks()
3088 static int vega10_get_power_state_size(struct pp_hwmgr *hwmgr) in vega10_get_power_state_size()
3093 static int vega10_get_pp_table_entry_callback_func(struct pp_hwmgr *hwmgr, in vega10_get_pp_table_entry_callback_func()
3200 static int vega10_get_pp_table_entry(struct pp_hwmgr *hwmgr, in vega10_get_pp_table_entry()
3229 static int vega10_patch_boot_state(struct pp_hwmgr *hwmgr, in vega10_patch_boot_state()
3235 static int vega10_apply_state_adjust_rules(struct pp_hwmgr *hwmgr, in vega10_apply_state_adjust_rules()
3388 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()
3434 struct pp_hwmgr *hwmgr, const void *input) in vega10_populate_and_upload_sclk_mclk_dpm_levels()
3478 static int vega10_trim_single_dpm_states(struct pp_hwmgr *hwmgr, in vega10_trim_single_dpm_states()
3494 static int vega10_trim_single_dpm_states_with_mask(struct pp_hwmgr *hwmgr, in vega10_trim_single_dpm_states_with_mask()
3513 static int vega10_trim_dpm_states(struct pp_hwmgr *hwmgr, in vega10_trim_dpm_states()
3576 struct pp_hwmgr *hwmgr) in vega10_apply_dal_minimum_voltage_request()
3581 static int vega10_get_soc_index_for_max_uclk(struct pp_hwmgr *hwmgr) in vega10_get_soc_index_for_max_uclk()
3592 static int vega10_upload_dpm_bootup_level(struct pp_hwmgr *hwmgr) in vega10_upload_dpm_bootup_level()
3651 static int vega10_upload_dpm_max_level(struct pp_hwmgr *hwmgr) in vega10_upload_dpm_max_level()
3700 struct pp_hwmgr *hwmgr, const void *input) in vega10_generate_dpm_level_enable_mask()
3745 int vega10_enable_disable_vce_dpm(struct pp_hwmgr *hwmgr, bool enable) in vega10_enable_disable_vce_dpm()
3761 static int vega10_update_sclk_threshold(struct pp_hwmgr *hwmgr) in vega10_update_sclk_threshold()
3784 static int vega10_set_power_state_tasks(struct pp_hwmgr *hwmgr, in vega10_set_power_state_tasks()
3833 static uint32_t vega10_dpm_get_sclk(struct pp_hwmgr *hwmgr, bool low) in vega10_dpm_get_sclk()
3855 static uint32_t vega10_dpm_get_mclk(struct pp_hwmgr *hwmgr, bool low) in vega10_dpm_get_mclk()
3877 static int vega10_get_gpu_power(struct pp_hwmgr *hwmgr, in vega10_get_gpu_power()
3893 static int vega10_read_sensor(struct pp_hwmgr *hwmgr, int idx, in vega10_read_sensor()
3969 static void vega10_notify_smc_display_change(struct pp_hwmgr *hwmgr, in vega10_notify_smc_display_change()
3978 static int vega10_display_clock_voltage_request(struct pp_hwmgr *hwmgr, in vega10_display_clock_voltage_request()
4017 static uint8_t vega10_get_uclk_index(struct pp_hwmgr *hwmgr, in vega10_get_uclk_index()
4038 struct pp_hwmgr *hwmgr) in vega10_notify_smc_display_config_after_ps_adjustment()
4092 static int vega10_force_dpm_highest(struct pp_hwmgr *hwmgr) in vega10_force_dpm_highest()
4114 static int vega10_force_dpm_lowest(struct pp_hwmgr *hwmgr) in vega10_force_dpm_lowest()
4137 static int vega10_unforce_dpm_levels(struct pp_hwmgr *hwmgr) in vega10_unforce_dpm_levels()
4160 static int vega10_get_profiling_clk_mask(struct pp_hwmgr *hwmgr, enum amd_dpm_forced_level level, in vega10_get_profiling_clk_mask()
4195 static void vega10_set_fan_control_mode(struct pp_hwmgr *hwmgr, uint32_t mode) in vega10_set_fan_control_mode()
4217 static int vega10_force_clock_level(struct pp_hwmgr *hwmgr, in vega10_force_clock_level()
4276 static int vega10_dpm_force_dpm_level(struct pp_hwmgr *hwmgr, in vega10_dpm_force_dpm_level()
4326 static uint32_t vega10_get_fan_control_mode(struct pp_hwmgr *hwmgr) in vega10_get_fan_control_mode()
4336 static int vega10_get_dal_power_level(struct pp_hwmgr *hwmgr, in vega10_get_dal_power_level()
4350 static void vega10_get_sclks(struct pp_hwmgr *hwmgr, in vega10_get_sclks()
4370 static void vega10_get_memclocks(struct pp_hwmgr *hwmgr, in vega10_get_memclocks()
4396 static void vega10_get_dcefclocks(struct pp_hwmgr *hwmgr, in vega10_get_dcefclocks()
4412 static void vega10_get_socclocks(struct pp_hwmgr *hwmgr, in vega10_get_socclocks()
4428 static int vega10_get_clock_by_type_with_latency(struct pp_hwmgr *hwmgr, in vega10_get_clock_by_type_with_latency()
4452 static int vega10_get_clock_by_type_with_voltage(struct pp_hwmgr *hwmgr, in vega10_get_clock_by_type_with_voltage()
4494 static int vega10_set_watermarks_for_clocks_ranges(struct pp_hwmgr *hwmgr, in vega10_set_watermarks_for_clocks_ranges()
4509 static int vega10_get_ppfeature_status(struct pp_hwmgr *hwmgr, char *buf) in vega10_get_ppfeature_status()
4573 static int vega10_set_ppfeature_status(struct pp_hwmgr *hwmgr, uint64_t new_ppfeature_masks) in vega10_set_ppfeature_status()
4610 static int vega10_get_current_pcie_link_width_level(struct pp_hwmgr *hwmgr) in vega10_get_current_pcie_link_width_level()
4619 static int vega10_get_current_pcie_link_speed_level(struct pp_hwmgr *hwmgr) in vega10_get_current_pcie_link_speed_level()
4628 static int vega10_emit_clock_levels(struct pp_hwmgr *hwmgr, in vega10_emit_clock_levels()
4774 static int vega10_print_clock_levels(struct pp_hwmgr *hwmgr, in vega10_print_clock_levels()
4906 static int vega10_display_configuration_changed_task(struct pp_hwmgr *hwmgr) in vega10_display_configuration_changed_task()
4928 static int vega10_enable_disable_uvd_dpm(struct pp_hwmgr *hwmgr, bool enable) in vega10_enable_disable_uvd_dpm()
4943 static void vega10_power_gate_vce(struct pp_hwmgr *hwmgr, bool bgate) in vega10_power_gate_vce()
4951 static void vega10_power_gate_uvd(struct pp_hwmgr *hwmgr, bool bgate) in vega10_power_gate_uvd()
4968 static int vega10_check_states_equal(struct pp_hwmgr *hwmgr, in vega10_check_states_equal()
5012 vega10_check_smc_update_required_for_display_configuration(struct pp_hwmgr *hwmgr) in vega10_check_smc_update_required_for_display_configuration()
5028 static int vega10_disable_dpm_tasks(struct pp_hwmgr *hwmgr) in vega10_disable_dpm_tasks()
5070 static int vega10_power_off_asic(struct pp_hwmgr *hwmgr) in vega10_power_off_asic()
5084 static int vega10_get_sclk_od(struct pp_hwmgr *hwmgr) in vega10_get_sclk_od()
5100 static int vega10_set_sclk_od(struct pp_hwmgr *hwmgr, uint32_t value) in vega10_set_sclk_od()
5135 static int vega10_get_mclk_od(struct pp_hwmgr *hwmgr) in vega10_get_mclk_od()
5151 static int vega10_set_mclk_od(struct pp_hwmgr *hwmgr, uint32_t value) in vega10_set_mclk_od()
5187 static int vega10_notify_cac_buffer_info(struct pp_hwmgr *hwmgr, in vega10_notify_cac_buffer_info()
5219 static int vega10_get_thermal_temperature_range(struct pp_hwmgr *hwmgr, in vega10_get_thermal_temperature_range()
5243 static int vega10_get_power_profile_mode(struct pp_hwmgr *hwmgr, char *buf) in vega10_get_power_profile_mode()
5282 static bool vega10_get_power_profile_mode_quirks(struct pp_hwmgr *hwmgr) in vega10_get_power_profile_mode_quirks()
5289 static int vega10_set_power_profile_mode(struct pp_hwmgr *hwmgr, long *input, uint32_t size) in vega10_set_power_profile_mode()
5340 static bool vega10_check_clk_voltage_valid(struct pp_hwmgr *hwmgr, in vega10_check_clk_voltage_valid()
5379 static void vega10_odn_update_power_state(struct pp_hwmgr *hwmgr) in vega10_odn_update_power_state()
5436 static void vega10_odn_update_soc_table(struct pp_hwmgr *hwmgr, in vega10_odn_update_soc_table()
5507 static int vega10_odn_edit_dpm_table(struct pp_hwmgr *hwmgr, in vega10_odn_edit_dpm_table()
5573 static int vega10_set_mp1_state(struct pp_hwmgr *hwmgr, in vega10_set_mp1_state()
5597 static int vega10_get_performance_level(struct pp_hwmgr *hwmgr, const struct pp_hw_power_state *sta… in vega10_get_performance_level()
5618 static int vega10_disable_power_features_for_compute_performance(struct pp_hwmgr *hwmgr, bool disab… in vega10_disable_power_features_for_compute_performance()
5743 int vega10_hwmgr_init(struct pp_hwmgr *hwmgr) in vega10_hwmgr_init()