Home
last modified time | relevance | path

Searched refs:max_sclk (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Dbtc_dpm.h45 const u32 max_sclk, const u32 max_mclk,
H A Dbtc_dpm.c1206 u32 max_sclk, u32 requested_sclk) in btc_get_valid_sclk() argument
1209 max_sclk, requested_sclk); in btc_get_valid_sclk()
1213 const u32 max_sclk, const u32 max_mclk, in btc_skip_blacklist_clocks() argument
1231 *sclk = btc_get_valid_sclk(rdev, max_sclk, *sclk + 1); in btc_skip_blacklist_clocks()
1233 if (*sclk < max_sclk) in btc_skip_blacklist_clocks()
1234 btc_skip_blacklist_clocks(rdev, max_sclk, max_mclk, sclk, mclk); in btc_skip_blacklist_clocks()
H A Dsi_dpm.c2231 u32 max_sclk; in si_populate_power_containment_values() local
2260 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2266 if (prev_sclk > max_sclk) in si_populate_power_containment_values()
2270 (prev_sclk == max_sclk) || in si_populate_power_containment_values()
2272 min_sclk = max_sclk; in si_populate_power_containment_values()
2306 …te->levels[i].dpm2.MaxPS = (u8)((SISLANDS_DPM2_MAX_PULSE_SKIP * (max_sclk - min_sclk)) / max_sclk); in si_populate_power_containment_values()
2912 u32 max_sclk = 0, max_mclk = 0; in si_apply_state_adjust_rules() local
2921 max_sclk = 75000; in si_apply_state_adjust_rules()
2925 max_sclk = 60000; in si_apply_state_adjust_rules()
2936 max_sclk = 75000; in si_apply_state_adjust_rules()
[all …]
H A Dni_dpm.c2463 u32 max_sclk; in ni_populate_power_containment_values() local
2507 max_sclk = state->performance_levels[i].sclk; in ni_populate_power_containment_values()
2511 if (max_sclk < prev_sclk) in ni_populate_power_containment_values()
2514 if ((max_ps_percent == 0) || (prev_sclk == max_sclk) || eg_pi->uvd_enabled) in ni_populate_power_containment_values()
2515 min_sclk = max_sclk; in ni_populate_power_containment_values()
2528 (u8)((NISLANDS_DPM2_MAX_PULSE_SKIP * (max_sclk - min_sclk)) / max_sclk); in ni_populate_power_containment_values()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c2389 u32 max_sclk; in si_populate_power_containment_values() local
2418 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2424 if (prev_sclk > max_sclk) in si_populate_power_containment_values()
2428 (prev_sclk == max_sclk) || in si_populate_power_containment_values()
2430 min_sclk = max_sclk; in si_populate_power_containment_values()
2463 …te->levels[i].dpm2.MaxPS = (u8)((SISLANDS_DPM2_MAX_PULSE_SKIP * (max_sclk - min_sclk)) / max_sclk); in si_populate_power_containment_values()
3239 u32 max_sclk, u32 requested_sclk) in btc_get_valid_sclk() argument
3242 max_sclk, requested_sclk); in btc_get_valid_sclk()
3432 u32 max_sclk = 0, max_mclk = 0; in si_apply_state_adjust_rules() local
3441 max_sclk = 75000; in si_apply_state_adjust_rules()
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.c4141 uint32_t sclk, max_sclk = 0; in smu7_get_maximum_link_speed() local
4147 if (max_sclk < sclk) in smu7_get_maximum_link_speed()
4148 max_sclk = sclk; in smu7_get_maximum_link_speed()
4152 if (dpm_table->sclk_table.dpm_levels[i].value == max_sclk) in smu7_get_maximum_link_speed()