Searched refs:eg_pi (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | cypress_dpm.c | 123 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in cypress_gfx_clock_gating_enable() local 126 if (eg_pi->light_sleep) { in cypress_gfx_clock_gating_enable() 151 if (eg_pi->light_sleep) { in cypress_gfx_clock_gating_enable() 176 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in cypress_mg_clock_gating_enable() local 198 if (eg_pi->mcls) { in cypress_mg_clock_gating_enable() 305 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in cypress_pcie_performance_request() local 317 eg_pi->pcie_performance_request_registered = true; in cypress_pcie_performance_request() 320 eg_pi->pcie_performance_request_registered) { in cypress_pcie_performance_request() 321 eg_pi->pcie_performance_request_registered = false; in cypress_pcie_performance_request() 657 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in cypress_populate_mvdd_value() local [all …]
|
D | btc_dpm.c | 1313 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in btc_apply_voltage_delta_rules() local 1321 new_voltage = btc_find_voltage(&eg_pi->vddci_voltage_table, in btc_apply_voltage_delta_rules() 1327 new_voltage = btc_find_voltage(&eg_pi->vddc_voltage_table, in btc_apply_voltage_delta_rules() 1389 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in btc_disable_ulv() local 1391 if (eg_pi->ulv.supported) { in btc_disable_ulv() 1402 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in btc_populate_ulv_state() local 1403 struct rv7xx_pl *ulv_pl = eg_pi->ulv.pl; in btc_populate_ulv_state() 1632 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in btc_init_smc_table() local 1669 if (eg_pi->sclk_deep_sleep) in btc_init_smc_table() 1677 if (eg_pi->ulv.supported) { in btc_init_smc_table() [all …]
|
D | ni_dpm.c | 1102 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in ni_process_firmware_header() local 1135 eg_pi->mc_reg_table_start = (u16)tmp; in ni_process_firmware_header() 1275 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in ni_populate_smc_voltage_tables() local 1278 if (eg_pi->vddc_voltage_table.count) { in ni_populate_smc_voltage_tables() 1279 ni_populate_smc_voltage_table(rdev, &eg_pi->vddc_voltage_table, table); in ni_populate_smc_voltage_tables() 1282 cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); in ni_populate_smc_voltage_tables() 1284 for (i = 0; i < eg_pi->vddc_voltage_table.count; i++) { in ni_populate_smc_voltage_tables() 1285 if (pi->max_vddc_in_table <= eg_pi->vddc_voltage_table.entries[i].value) { in ni_populate_smc_voltage_tables() 1292 if (eg_pi->vddci_voltage_table.count) { in ni_populate_smc_voltage_tables() 1293 ni_populate_smc_voltage_table(rdev, &eg_pi->vddci_voltage_table, table); in ni_populate_smc_voltage_tables() [all …]
|
D | si_dpm.c | 2292 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in si_populate_power_containment_values() local 2351 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 2360 ret = si_populate_voltage_value(rdev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 3672 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in si_program_ds_registers() local 3675 if (eg_pi->sclk_deep_sleep) { in si_program_ds_registers() 3961 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in si_construct_voltage_tables() local 3967 VOLTAGE_OBJ_GPIO_LUT, &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3971 if (eg_pi->vddc_voltage_table.count > SISLANDS_MAX_NO_VREG_STEPS) in si_construct_voltage_tables() 3974 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() 3978 &eg_pi->vddc_voltage_table); in si_construct_voltage_tables() [all …]
|
D | rv770_dpm.c | 2178 struct evergreen_power_info *eg_pi = evergreen_get_pi(rdev); in rv7xx_parse_pplib_clock_info() local 2227 eg_pi->acpi_vddci = pl->vddci; in rv7xx_parse_pplib_clock_info() 2236 eg_pi->ulv.supported = true; in rv7xx_parse_pplib_clock_info() 2237 eg_pi->ulv.pl = pl; in rv7xx_parse_pplib_clock_info()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | si_dpm.c | 2389 struct evergreen_power_info *eg_pi = evergreen_get_pi(adev); in si_populate_power_containment_values() local 2447 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 2456 ret = si_populate_voltage_value(adev, &eg_pi->vddc_voltage_table, in si_populate_power_containment_values() 3150 struct evergreen_power_info *eg_pi = evergreen_get_pi(adev); in ni_update_current_ps() local 3153 eg_pi->current_rps = *rps; in ni_update_current_ps() 3155 eg_pi->current_rps.ps_priv = &ni_pi->current_ps; in ni_update_current_ps() 3156 adev->pm.dpm.current_ps = &eg_pi->current_rps; in ni_update_current_ps() 3163 struct evergreen_power_info *eg_pi = evergreen_get_pi(adev); in ni_update_requested_ps() local 3166 eg_pi->requested_rps = *rps; in ni_update_requested_ps() 3168 eg_pi->requested_rps.ps_priv = &ni_pi->requested_ps; in ni_update_requested_ps() [all …]
|