Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/radeon/
Dbtc_dpm.h45 const u32 max_sclk, const u32 max_mclk,
Dbtc_dpm.c1234 u32 max_sclk, u32 requested_sclk) in btc_get_valid_sclk() argument
1237 max_sclk, requested_sclk); in btc_get_valid_sclk()
1241 const u32 max_sclk, const u32 max_mclk, in btc_skip_blacklist_clocks() argument
1259 *sclk = btc_get_valid_sclk(rdev, max_sclk, *sclk + 1); in btc_skip_blacklist_clocks()
1261 if (*sclk < max_sclk) in btc_skip_blacklist_clocks()
1262 btc_skip_blacklist_clocks(rdev, max_sclk, max_mclk, sclk, mclk); in btc_skip_blacklist_clocks()
Dsi_dpm.c2275 u32 max_sclk; in si_populate_power_containment_values() local
2304 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2310 if (prev_sclk > max_sclk) in si_populate_power_containment_values()
2314 (prev_sclk == max_sclk) || in si_populate_power_containment_values()
2316 min_sclk = max_sclk; in si_populate_power_containment_values()
2350 …te->levels[i].dpm2.MaxPS = (u8)((SISLANDS_DPM2_MAX_PULSE_SKIP * (max_sclk - min_sclk)) / max_sclk); in si_populate_power_containment_values()
2956 u32 max_sclk = 0, max_mclk = 0; in si_apply_state_adjust_rules() local
2965 max_sclk = 75000; in si_apply_state_adjust_rules()
2969 max_sclk = 60000; in si_apply_state_adjust_rules()
2980 max_sclk = 75000; in si_apply_state_adjust_rules()
[all …]
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-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
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-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c4135 uint32_t sclk, max_sclk = 0; in smu7_get_maximum_link_speed() local
4141 if (max_sclk < sclk) in smu7_get_maximum_link_speed()
4142 max_sclk = sclk; in smu7_get_maximum_link_speed()
4146 if (dpm_table->sclk_table.dpm_levels[i].value == max_sclk) in smu7_get_maximum_link_speed()