Lines Matching refs:performance_levels

2303 		prev_sclk = state->performance_levels[i-1].sclk;  in si_populate_power_containment_values()
2304 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2323 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2324 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2330 state->performance_levels[i-1].vddc, &vddc); in si_populate_power_containment_values()
2339 state->performance_levels[i].vddc, &vddc); in si_populate_power_containment_values()
2398 if ((state->performance_levels[i].sclk >= rdev->pm.dpm.sq_ramping_threshold) && in si_populate_sq_ramping_values()
3012 if (ps->performance_levels[i].vddc > ps->performance_levels[i+1].vddc) in si_apply_state_adjust_rules()
3013 ps->performance_levels[i].vddc = ps->performance_levels[i+1].vddc; in si_apply_state_adjust_rules()
3017 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
3018 ps->performance_levels[i].mclk = max_limits->mclk; in si_apply_state_adjust_rules()
3019 if (ps->performance_levels[i].sclk > max_limits->sclk) in si_apply_state_adjust_rules()
3020 ps->performance_levels[i].sclk = max_limits->sclk; in si_apply_state_adjust_rules()
3021 if (ps->performance_levels[i].vddc > max_limits->vddc) in si_apply_state_adjust_rules()
3022 ps->performance_levels[i].vddc = max_limits->vddc; in si_apply_state_adjust_rules()
3023 if (ps->performance_levels[i].vddci > max_limits->vddci) in si_apply_state_adjust_rules()
3024 ps->performance_levels[i].vddci = max_limits->vddci; in si_apply_state_adjust_rules()
3038 if (ps->performance_levels[i].sclk > max_sclk_vddc) in si_apply_state_adjust_rules()
3039 ps->performance_levels[i].sclk = max_sclk_vddc; in si_apply_state_adjust_rules()
3042 if (ps->performance_levels[i].mclk > max_mclk_vddci) in si_apply_state_adjust_rules()
3043 ps->performance_levels[i].mclk = max_mclk_vddci; in si_apply_state_adjust_rules()
3046 if (ps->performance_levels[i].mclk > max_mclk_vddc) in si_apply_state_adjust_rules()
3047 ps->performance_levels[i].mclk = max_mclk_vddc; in si_apply_state_adjust_rules()
3050 if (ps->performance_levels[i].mclk > max_mclk) in si_apply_state_adjust_rules()
3051 ps->performance_levels[i].mclk = max_mclk; in si_apply_state_adjust_rules()
3054 if (ps->performance_levels[i].sclk > max_sclk) in si_apply_state_adjust_rules()
3055 ps->performance_levels[i].sclk = max_sclk; in si_apply_state_adjust_rules()
3062 mclk = ps->performance_levels[ps->performance_level_count - 1].mclk; in si_apply_state_adjust_rules()
3063 vddci = ps->performance_levels[ps->performance_level_count - 1].vddci; in si_apply_state_adjust_rules()
3065 mclk = ps->performance_levels[0].mclk; in si_apply_state_adjust_rules()
3066 vddci = ps->performance_levels[0].vddci; in si_apply_state_adjust_rules()
3070 sclk = ps->performance_levels[ps->performance_level_count - 1].sclk; in si_apply_state_adjust_rules()
3071 vddc = ps->performance_levels[ps->performance_level_count - 1].vddc; in si_apply_state_adjust_rules()
3073 sclk = ps->performance_levels[0].sclk; in si_apply_state_adjust_rules()
3074 vddc = ps->performance_levels[0].vddc; in si_apply_state_adjust_rules()
3085 ps->performance_levels[0].sclk = sclk; in si_apply_state_adjust_rules()
3086 ps->performance_levels[0].mclk = mclk; in si_apply_state_adjust_rules()
3087 ps->performance_levels[0].vddc = vddc; in si_apply_state_adjust_rules()
3088 ps->performance_levels[0].vddci = vddci; in si_apply_state_adjust_rules()
3091 sclk = ps->performance_levels[0].sclk; in si_apply_state_adjust_rules()
3093 if (sclk < ps->performance_levels[i].sclk) in si_apply_state_adjust_rules()
3094 sclk = ps->performance_levels[i].sclk; in si_apply_state_adjust_rules()
3097 ps->performance_levels[i].sclk = sclk; in si_apply_state_adjust_rules()
3098 ps->performance_levels[i].vddc = vddc; in si_apply_state_adjust_rules()
3102 if (ps->performance_levels[i].sclk < ps->performance_levels[i - 1].sclk) in si_apply_state_adjust_rules()
3103 ps->performance_levels[i].sclk = ps->performance_levels[i - 1].sclk; in si_apply_state_adjust_rules()
3104 if (ps->performance_levels[i].vddc < ps->performance_levels[i - 1].vddc) in si_apply_state_adjust_rules()
3105 ps->performance_levels[i].vddc = ps->performance_levels[i - 1].vddc; in si_apply_state_adjust_rules()
3110 mclk = ps->performance_levels[0].mclk; in si_apply_state_adjust_rules()
3112 if (mclk < ps->performance_levels[i].mclk) in si_apply_state_adjust_rules()
3113 mclk = ps->performance_levels[i].mclk; in si_apply_state_adjust_rules()
3116 ps->performance_levels[i].mclk = mclk; in si_apply_state_adjust_rules()
3117 ps->performance_levels[i].vddci = vddci; in si_apply_state_adjust_rules()
3121 if (ps->performance_levels[i].mclk < ps->performance_levels[i - 1].mclk) in si_apply_state_adjust_rules()
3122 ps->performance_levels[i].mclk = ps->performance_levels[i - 1].mclk; in si_apply_state_adjust_rules()
3123 if (ps->performance_levels[i].vddci < ps->performance_levels[i - 1].vddci) in si_apply_state_adjust_rules()
3124 ps->performance_levels[i].vddci = ps->performance_levels[i - 1].vddci; in si_apply_state_adjust_rules()
3130 &ps->performance_levels[i]); in si_apply_state_adjust_rules()
3133 if (ps->performance_levels[i].vddc < min_vce_voltage) in si_apply_state_adjust_rules()
3134 ps->performance_levels[i].vddc = min_vce_voltage; in si_apply_state_adjust_rules()
3136 ps->performance_levels[i].sclk, in si_apply_state_adjust_rules()
3137 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3139 ps->performance_levels[i].mclk, in si_apply_state_adjust_rules()
3140 max_limits->vddci, &ps->performance_levels[i].vddci); in si_apply_state_adjust_rules()
3142 ps->performance_levels[i].mclk, in si_apply_state_adjust_rules()
3143 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3146 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3152 &ps->performance_levels[i].vddc, in si_apply_state_adjust_rules()
3153 &ps->performance_levels[i].vddci); in si_apply_state_adjust_rules()
3158 if (ps->performance_levels[i].vddc > rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) in si_apply_state_adjust_rules()
4308 ret = si_populate_memory_timing_parameters(rdev, &state->performance_levels[i], &arb_regs); in si_do_program_memory_timing_parameters()
4376 cpu_to_be32(initial_state->performance_levels[0].mclk); in si_populate_smc_initial_state()
4392 cpu_to_be32(initial_state->performance_levels[0].sclk); in si_populate_smc_initial_state()
4400 initial_state->performance_levels[0].vddc, in si_populate_smc_initial_state()
4418 initial_state->performance_levels[0].vddci, in si_populate_smc_initial_state()
4424 initial_state->performance_levels[0].vddc, in si_populate_smc_initial_state()
4425 initial_state->performance_levels[0].sclk, in si_populate_smc_initial_state()
4426 initial_state->performance_levels[0].mclk, in si_populate_smc_initial_state()
4441 initial_state->performance_levels[0].mclk); in si_populate_smc_initial_state()
4443 if (initial_state->performance_levels[0].mclk > pi->mclk_edc_enable_threshold) in si_populate_smc_initial_state()
5093 state->performance_levels[i + 1].sclk, in si_populate_smc_t()
5094 state->performance_levels[i].sclk, in si_populate_smc_t()
5136 if (state->performance_levels[0].mclk != ulv->pl.mclk) in si_is_state_ulv_compatible()
5185 threshold = state->performance_levels[state->performance_level_count-1].sclk * 100 / 100; in si_convert_power_state_to_smc()
5209 ret = si_convert_power_level_to_smc(rdev, &state->performance_levels[i], in si_convert_power_state_to_smc()
5219 (state->performance_levels[i].sclk < threshold) ? in si_convert_power_state_to_smc()
5626 &state->performance_levels[i], in si_convert_mc_reg_table_to_smc()
5645 si_convert_mc_reg_table_entry_to_smc(rdev, &boot_state->performance_levels[0], in si_populate_mc_reg_table()
5707 pcie_speed = state->performance_levels[i].pcie_gen; in si_get_maximum_link_speed()
6721 struct rv7xx_pl *pl = &ps->performance_levels[index]; in si_parse_pplib_clock_info()
7086 pl = &ps->performance_levels[current_index]; in si_dpm_debugfs_print_current_performance_level()
7106 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_sclk()
7124 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_mclk()