/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | cypress_dpm.h | 85 struct atom_voltage_table vddci_voltage_table; member
|
D | cypress_dpm.c | 751 &eg_pi->vddci_voltage_table, in cypress_convert_power_level_to_smc() 1290 &eg_pi->vddci_voltage_table, in cypress_populate_smc_initial_state() 1386 &eg_pi->vddci_voltage_table, in cypress_populate_smc_acpi_state() 1500 &eg_pi->vddci_voltage_table); in cypress_construct_voltage_tables() 1504 if (eg_pi->vddci_voltage_table.count > MAX_NO_VREG_STEPS) in cypress_construct_voltage_tables() 1506 &eg_pi->vddci_voltage_table); in cypress_construct_voltage_tables() 1549 if (eg_pi->vddci_voltage_table.count) { in cypress_populate_smc_voltage_tables() 1551 &eg_pi->vddci_voltage_table, in cypress_populate_smc_voltage_tables() 1556 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in cypress_populate_smc_voltage_tables()
|
D | ci_dpm.h | 230 struct atom_voltage_table vddci_voltage_table; member
|
D | si_dpm.c | 3969 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 3973 if (eg_pi->vddci_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 3976 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 3981 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 4059 if (eg_pi->vddci_voltage_table.count) { in si_populate_smc_voltage_tables() 4060 si_populate_smc_voltage_table(rdev, &eg_pi->vddci_voltage_table, table); in si_populate_smc_voltage_tables() 4063 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4420 &eg_pi->vddci_voltage_table, in si_populate_smc_initial_state() 4548 si_populate_voltage_value(rdev, &eg_pi->vddci_voltage_table, in si_populate_smc_acpi_state() 5044 ret = si_populate_voltage_value(rdev, &eg_pi->vddci_voltage_table, in si_convert_power_level_to_smc()
|
D | ni_dpm.c | 1291 if (eg_pi->vddci_voltage_table.count) { in ni_populate_smc_voltage_tables() 1292 ni_populate_smc_voltage_table(rdev, &eg_pi->vddci_voltage_table, table); in ni_populate_smc_voltage_tables() 1296 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in ni_populate_smc_voltage_tables() 1746 &eg_pi->vddci_voltage_table, in ni_populate_smc_initial_state() 1859 &eg_pi->vddci_voltage_table, in ni_populate_smc_acpi_state() 2378 ret = ni_populate_voltage_value(rdev, &eg_pi->vddci_voltage_table, in ni_convert_power_level_to_smc()
|
D | ci_dpm.c | 2145 &pi->vddci_voltage_table); in ci_construct_voltage_tables() 2151 &pi->vddci_voltage_table); in ci_construct_voltage_tables() 2156 if (pi->vddci_voltage_table.count > SMU7_MAX_LEVELS_VDDCI) in ci_construct_voltage_tables() 2158 &pi->vddci_voltage_table); in ci_construct_voltage_tables() 2232 table->VddciLevelCount = pi->vddci_voltage_table.count; in ci_populate_smc_vddci_table() 2235 &pi->vddci_voltage_table.entries[count], in ci_populate_smc_vddci_table() 2240 pi->vddci_voltage_table.entries[count].smio_low; in ci_populate_smc_vddci_table()
|
D | btc_dpm.c | 1320 new_voltage = btc_find_voltage(&eg_pi->vddci_voltage_table, in btc_apply_voltage_delta_rules()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | tonga_smumgr.c | 271 phm_get_voltage_id(&data->vddci_voltage_table, allowed_clock_voltage_table->entries[i].vddci); in tonga_get_dependency_volt_by_clk() 274 phm_get_voltage_id(&data->vddci_voltage_table, in tonga_get_dependency_volt_by_clk() 293 voltage->Vddci = phm_get_voltage_id(&data->vddci_voltage_table, in tonga_get_dependency_volt_by_clk() 342 table->VddciLevelCount = data->vddci_voltage_table.count; in tonga_populate_smc_vdd_ci_table() 346 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table() 349 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table() 354 data->vddci_voltage_table.entries[count].smio_low; in tonga_populate_smc_vdd_ci_table() 356 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[count].value * VOLTAGE_SCALE); in tonga_populate_smc_vdd_ci_table() 360 table->SmioMask1 = data->vddci_voltage_table.mask_low; in tonga_populate_smc_vdd_ci_table() 1334 phm_get_voltage_id(&data->vddci_voltage_table, in tonga_populate_smc_uvd_level() [all …]
|
D | vegam_smumgr.c | 482 count = data->vddci_voltage_table.count; in vegam_populate_smc_vddci_table() 489 data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); in vegam_populate_smc_vddci_table() 492 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; in vegam_populate_smc_vddci_table() 496 table->SmioMask1 = data->vddci_voltage_table.mask_low; in vegam_populate_smc_vddci_table() 627 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_get_dependency_volt_by_clk() 655 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_get_dependency_volt_by_clk() 1218 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_populate_smc_vce_level() 1332 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in vegam_populate_smc_uvd_level()
|
D | polaris10_smumgr.c | 379 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_get_dependency_volt_by_clk() 404 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_get_dependency_volt_by_clk() 680 count = data->vddci_voltage_table.count; in polaris10_populate_smc_vddci_table() 687 PP_HOST_TO_SMC_US(data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); in polaris10_populate_smc_vddci_table() 690 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; in polaris10_populate_smc_vddci_table() 694 table->SmioMask1 = data->vddci_voltage_table.mask_low; in polaris10_populate_smc_vddci_table() 1310 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_populate_smc_vce_level() 1417 vddci = (uint32_t)phm_find_closest_vddci(&(data->vddci_voltage_table), in polaris10_populate_smc_uvd_level()
|
D | ci_smumgr.c | 876 table->VddciLevelCount = data->vddci_voltage_table.count; in ci_populate_smc_vdd_ci_table() 880 &(data->vddci_voltage_table.entries[count]), in ci_populate_smc_vdd_ci_table() 885 table->Smio[count] |= data->vddci_voltage_table.entries[count].smio_low; in ci_populate_smc_vdd_ci_table() 886 table->SmioMaskVddciVid |= data->vddci_voltage_table.entries[count].smio_low; in ci_populate_smc_vdd_ci_table()
|
D | iceland_smumgr.c | 650 table->VddciLevelCount = data->vddci_voltage_table.count; in iceland_populate_smc_vdd_ci_table() 654 &(data->vddci_voltage_table.entries[count]), in iceland_populate_smc_vdd_ci_table() 658 table->VddciLevel[count].Smio |= data->vddci_voltage_table.entries[count].smio_low; in iceland_populate_smc_vdd_ci_table()
|
D | fiji_smumgr.c | 379 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in fiji_get_dependency_volt_by_clk() 404 vddci = phm_find_closest_vddci(&(data->vddci_voltage_table), in fiji_get_dependency_volt_by_clk()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu7_hwmgr.h | 251 struct pp_atomctrl_voltage_table vddci_voltage_table; member
|
D | vega10_hwmgr.h | 324 struct pp_atomfwctrl_voltage_table vddci_voltage_table; member
|
D | vega12_hwmgr.h | 327 struct pp_atomfwctrl_voltage_table vddci_voltage_table; member
|
D | vega20_hwmgr.h | 452 struct pp_atomfwctrl_voltage_table vddci_voltage_table; member
|
D | smu7_hwmgr.c | 285 &(data->vddci_voltage_table)); in smu7_construct_voltage_tables() 291 result = phm_get_svi2_vddci_voltage_table(&(data->vddci_voltage_table), in smu7_construct_voltage_tables() 294 result = phm_get_svi2_voltage_table_v0(&(data->vddci_voltage_table), in smu7_construct_voltage_tables() 345 (data->vddci_voltage_table.count <= tmp), in smu7_construct_voltage_tables() 348 &(data->vddci_voltage_table))); in smu7_construct_voltage_tables()
|
D | vega10_hwmgr.c | 1181 &(data->vddci_voltage_table)); in vega10_construct_voltage_tables() 1202 PP_ASSERT_WITH_CODE(data->vddci_voltage_table.count <= 16, in vega10_construct_voltage_tables() 1205 16, &(data->vddci_voltage_table))); in vega10_construct_voltage_tables()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
D | si_dpm.c | 3306 new_voltage = btc_find_voltage(&eg_pi->vddci_voltage_table, in btc_apply_voltage_delta_rules() 4428 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 4432 if (eg_pi->vddci_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 4435 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 4440 &eg_pi->vddci_voltage_table); in si_construct_voltage_tables() 4518 if (eg_pi->vddci_voltage_table.count) { in si_populate_smc_voltage_tables() 4519 si_populate_smc_voltage_table(adev, &eg_pi->vddci_voltage_table, table); in si_populate_smc_voltage_tables() 4522 cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); in si_populate_smc_voltage_tables() 4881 &eg_pi->vddci_voltage_table, in si_populate_smc_initial_state() 5008 si_populate_voltage_value(adev, &eg_pi->vddci_voltage_table, in si_populate_smc_acpi_state() [all …]
|
D | si_dpm.h | 669 struct atom_voltage_table vddci_voltage_table; member
|