Home
last modified time | relevance | path

Searched refs:max_vddc (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/radeon/
Dbtc_dpm.h55 u16 max_vddc, u16 max_vddci,
Drv770_dpm.h103 u16 max_vddc; member
Dbtc_dpm.c1307 u16 max_vddc, u16 max_vddci, in btc_apply_voltage_delta_rules() argument
1326 *vddc = (new_voltage < max_vddc) ? new_voltage : max_vddc; in btc_apply_voltage_delta_rules()
Drv770_dpm.c1697 pi->max_vddc = 0; in rv770_get_max_vddc()
1699 pi->max_vddc = vddc; in rv770_get_max_vddc()
2222 if (pi->max_vddc) in rv7xx_parse_pplib_clock_info()
2223 pl->vddc = pi->max_vddc; in rv7xx_parse_pplib_clock_info()
Dni_dpm.c998 if (pi->max_vddc == 0) in ni_patch_single_dependency_table_based_on_leakage()
1000 table->entries[i].v = pi->max_vddc; in ni_patch_single_dependency_table_based_on_leakage()
3945 if (pi->max_vddc) in ni_parse_pplib_clock_info()
3946 pl->vddc = pi->max_vddc; in ni_parse_pplib_clock_info()
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.h189 uint32_t max_vddc; member
Dppatomctrl.h340 extern void atomctrl_get_voltage_range(struct pp_hwmgr *hwmgr, uint32_t *max_vddc,
Dvega10_hwmgr.h299 uint32_t max_vddc; member
Dppatomctrl.c1598 void atomctrl_get_voltage_range(struct pp_hwmgr *hwmgr, uint32_t *max_vddc, in atomctrl_get_voltage_range() argument
1611 *max_vddc = le32_to_cpu(((ATOM_ASIC_PROFILING_INFO_V3_3 *)profile)->ulMaxVddc) / 4; in atomctrl_get_voltage_range()
1617 *max_vddc = le32_to_cpu(((ATOM_ASIC_PROFILING_INFO_V3_6 *)profile)->ulMaxVddc) / 100; in atomctrl_get_voltage_range()
1624 *max_vddc = 0; in atomctrl_get_voltage_range()
Dsmu7_hwmgr.c984 uint32_t max_vddc = 0; in smu7_setup_voltage_range_from_vbios() local
991 atomctrl_get_voltage_range(hwmgr, &max_vddc, &min_vddc); in smu7_setup_voltage_range_from_vbios()
997 if (max_vddc == 0 || max_vddc > 2000 in smu7_setup_voltage_range_from_vbios()
998 || max_vddc < dep_sclk_table->entries[dep_sclk_table->count-1].vddc) in smu7_setup_voltage_range_from_vbios()
999 max_vddc = dep_sclk_table->entries[dep_sclk_table->count-1].vddc; in smu7_setup_voltage_range_from_vbios()
1002 data->odn_dpm_table.max_vddc = max_vddc; in smu7_setup_voltage_range_from_vbios()
1078 if (data->odn_dpm_table.max_vddc) { in smu7_setup_default_dpm_tables()
5047 data->odn_dpm_table.max_vddc); in smu7_print_clock_levels()
5454 if (voltage < data->odn_dpm_table.min_vddc || voltage > data->odn_dpm_table.max_vddc) { in smu7_check_clk_voltage_valid()
5457 data->odn_dpm_table.max_vddc); in smu7_check_clk_voltage_valid()
Dvega10_hwmgr.c319 data->odn_dpm_table.max_vddc = avfs_params.ulMaxVddc; in vega10_odn_initial_default_setting()
341 if (odn_table->max_vddc == 0 || odn_table->max_vddc > 2000) in vega10_odn_initial_default_setting()
342 odn_table->max_vddc = dep_table[0]->entries[dep_table[0]->count - 1].vddc; in vega10_odn_initial_default_setting()
350 od_table[2]->entries[i].vddc = odn_table->max_vddc > od_table[2]->entries[i].vddc ? in vega10_odn_initial_default_setting()
351 odn_table->max_vddc : in vega10_odn_initial_default_setting()
2566 if (odn_table->max_vddc) { in vega10_init_smc_table()
4782 data->odn_dpm_table.max_vddc); in vega10_emit_clock_levels()
4914 data->odn_dpm_table.max_vddc); in vega10_print_clock_levels()
5376 if (voltage < odn_table->min_vddc || voltage > odn_table->max_vddc) { in vega10_check_clk_voltage_valid()
5377 pr_info("OD voltage is out of range [%d - %d] mV\n", odn_table->min_vddc, odn_table->max_vddc); in vega10_check_clk_voltage_valid()
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.h559 u16 max_vddc; member
Dsi_dpm.c3310 u16 max_vddc, u16 max_vddci, in btc_apply_voltage_delta_rules() argument
3329 *vddc = (new_voltage < max_vddc) ? new_voltage : max_vddc; in btc_apply_voltage_delta_rules()
3400 pi->max_vddc = 0; in rv770_get_max_vddc()
3402 pi->max_vddc = vddc; in rv770_get_max_vddc()
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dci_smumgr.c2866 uint32_t max_vddc = adev->pm.ac_power ? hwmgr->dyn_state.max_clock_voltage_on_ac.vddc : in ci_update_uvd_smc_table() local
2881 if (uvd_table->entries[i].v <= max_vddc) in ci_update_uvd_smc_table()
2903 uint32_t max_vddc = adev->pm.ac_power ? hwmgr->dyn_state.max_clock_voltage_on_ac.vddc : in ci_update_vce_smc_table() local
2913 if (vce_table->entries[i].v <= max_vddc) in ci_update_vce_smc_table()