SMU_FCLK
clk_type = SMU_FCLK; break;
clk_type = SMU_FCLK; break;
smu->user_dpm_profile.clk_dependency = BIT(SMU_FCLK) | BIT(SMU_SOCCLK);
} else if (clk == SMU_FCLK) {
if (smu->user_dpm_profile.clk_dependency == (BIT(SMU_FCLK) | BIT(SMU_SOCCLK)))
if (smu->user_dpm_profile.clk_dependency == (BIT(SMU_FCLK) | BIT(SMU_SOCCLK)))
smu->user_dpm_profile.clk_dependency = BIT(SMU_MCLK) | BIT(SMU_FCLK);
case SMU_FCLK:
SMU_FCLK,
case SMU_FCLK:
ret = arcturus_get_current_clk_freq_by_table(smu, SMU_FCLK, &cur_value);
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
SMU_FCLK,
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
SMU_FCLK,
{SMU_FCLK, SMU_FEATURE_DPM_FCLK_BIT},
ret = vangogh_get_dpm_ultimate_freq(smu, SMU_FCLK, NULL, &fclk_freq);
ret = vangogh_set_soft_freq_limited_range(smu, SMU_FCLK, fclk_freq, fclk_freq, false);
vangogh_force_clk_levels(smu, SMU_FCLK, 1 << fclk_mask);
vangogh_force_clk_levels(smu, SMU_FCLK, 1 << fclk_mask);
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
idx = (clk_type == SMU_FCLK || clk_type == SMU_MCLK) ? (count - i - 1) : i;
case SMU_FCLK:
case SMU_FCLK:
idx = (clk_type == SMU_FCLK || clk_type == SMU_MCLK) ? (count - i - 1) : i;
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
idx = (clk_type == SMU_FCLK || clk_type == SMU_MCLK) ? (count - i - 1) : i;
case SMU_FCLK:
case SMU_FCLK:
renoir_get_dpm_ultimate_freq(smu, SMU_FCLK, NULL, &fclk);
renoir_get_dpm_ultimate_freq(smu, SMU_FCLK, &fclk, NULL);
ret = smu_v12_0_set_soft_freq_limited_range(smu, SMU_FCLK, fclk, fclk, false);
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
SMU_FCLK,
case SMU_FCLK:
ret = aldebaran_get_current_clk_freq_by_table(smu, SMU_FCLK, &cur_value);
case SMU_FCLK:
SMU_FCLK,
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
SMU_FCLK,
case SMU_FCLK:
smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_FCLK, &fclk_min, &fclk_max);
smu_v13_0_4_get_dpm_profile_freq(smu, level, SMU_FCLK, &fclk_min, &fclk_max);
SMU_FCLK,
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
idx = (clk_type == SMU_FCLK || clk_type == SMU_MCLK) ? (count - i - 1) : i;
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_FCLK, NULL, &clk_limit);
smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_FCLK, &clk_limit, NULL);
smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_FCLK, NULL, &fclk_max);
smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_FCLK, &fclk_min, NULL);
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
{ SMU_FCLK, SMU_FEATURE_DPM_FCLK_BIT,
case SMU_FCLK:
case SMU_FCLK:
ret = smu_v13_0_6_get_current_clk_freq_by_table(smu, SMU_FCLK,
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
SMU_FCLK,
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
idx = (clk_type == SMU_FCLK || clk_type == SMU_MCLK) ? (count - i - 1) : i;
case SMU_FCLK:
case SMU_FCLK:
yellow_carp_get_dpm_ultimate_freq(smu, SMU_FCLK, NULL, &clk_limit);
yellow_carp_get_dpm_ultimate_freq(smu, SMU_FCLK, &clk_limit, NULL);
yellow_carp_get_dpm_ultimate_freq(smu, SMU_FCLK, NULL, &fclk_max);
yellow_carp_get_dpm_ultimate_freq(smu, SMU_FCLK, &fclk_min, NULL);
yellow_carp_get_dpm_ultimate_freq(smu, SMU_FCLK, &fclk_min, &fclk_max);
yellow_carp_get_dpm_profile_freq(smu, level, SMU_FCLK, &fclk_min, &fclk_max);
SMU_FCLK,
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
SMU_FCLK,
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_FCLK, NULL, &clk_limit);
smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_FCLK, NULL, &clk_limit);
smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_FCLK, &clk_limit, NULL);
smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_FCLK, NULL, &fclk_max);
smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_FCLK, &fclk_min, NULL);
smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_FCLK, &fclk_min, &fclk_max);
smu_v14_0_common_get_dpm_profile_freq(smu, level, SMU_FCLK, &fclk_min, &fclk_max);
SMU_FCLK,
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
case SMU_FCLK:
SMU_FCLK,
case SMU_FCLK:
case SMU_FCLK: