Home
last modified time | relevance | path

Searched refs:performance_levels (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Dni_dpm.c808 if (ps->performance_levels[i].mclk > max_limits->mclk) in ni_apply_state_adjust_rules()
809 ps->performance_levels[i].mclk = max_limits->mclk; in ni_apply_state_adjust_rules()
810 if (ps->performance_levels[i].sclk > max_limits->sclk) in ni_apply_state_adjust_rules()
811 ps->performance_levels[i].sclk = max_limits->sclk; in ni_apply_state_adjust_rules()
812 if (ps->performance_levels[i].vddc > max_limits->vddc) in ni_apply_state_adjust_rules()
813 ps->performance_levels[i].vddc = max_limits->vddc; in ni_apply_state_adjust_rules()
814 if (ps->performance_levels[i].vddci > max_limits->vddci) in ni_apply_state_adjust_rules()
815 ps->performance_levels[i].vddci = max_limits->vddci; in ni_apply_state_adjust_rules()
823 ps->performance_levels[0].mclk = in ni_apply_state_adjust_rules()
824 ps->performance_levels[ps->performance_level_count - 1].mclk; in ni_apply_state_adjust_rules()
[all …]
H A Dsi_dpm.c2259 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()
2260 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2279 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2280 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2286 state->performance_levels[i-1].vddc, &vddc); in si_populate_power_containment_values()
2295 state->performance_levels[i].vddc, &vddc); in si_populate_power_containment_values()
2354 if ((state->performance_levels[i].sclk >= rdev->pm.dpm.sq_ramping_threshold) && in si_populate_sq_ramping_values()
2975 if (ps->performance_levels[i].vddc > ps->performance_levels[i+1].vddc) in si_apply_state_adjust_rules()
2976 ps->performance_levels[i].vddc = ps->performance_levels[i+1].vddc; in si_apply_state_adjust_rules()
2980 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
[all …]
H A Dci_dpm.c801 if (ps->performance_levels[i].mclk > max_limits->mclk) in ci_apply_state_adjust_rules()
802 ps->performance_levels[i].mclk = max_limits->mclk; in ci_apply_state_adjust_rules()
803 if (ps->performance_levels[i].sclk > max_limits->sclk) in ci_apply_state_adjust_rules()
804 ps->performance_levels[i].sclk = max_limits->sclk; in ci_apply_state_adjust_rules()
811 mclk = ps->performance_levels[ps->performance_level_count - 1].mclk; in ci_apply_state_adjust_rules()
812 sclk = ps->performance_levels[0].sclk; in ci_apply_state_adjust_rules()
814 mclk = ps->performance_levels[0].mclk; in ci_apply_state_adjust_rules()
815 sclk = ps->performance_levels[0].sclk; in ci_apply_state_adjust_rules()
825 ps->performance_levels[0].sclk = sclk; in ci_apply_state_adjust_rules()
826 ps->performance_levels[0].mclk = mclk; in ci_apply_state_adjust_rules()
[all …]
H A Dni_dpm.h171 struct rv7xx_pl performance_levels[NISLANDS_MAX_SMC_PERFORMANCE_LEVELS_PER_SWSTATE]; member
H A Dci_dpm.h50 struct ci_pl performance_levels[CISLANDS_MAX_HARDWARE_POWERLEVELS]; member
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c2429 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()
2430 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2448 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2449 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2455 state->performance_levels[i-1].vddc, &vddc); in si_populate_power_containment_values()
2464 state->performance_levels[i].vddc, &vddc); in si_populate_power_containment_values()
2523 if ((state->performance_levels[i].sclk >= adev->pm.dpm.sq_ramping_threshold) && in si_populate_sq_ramping_values()
3194 if (new_state->performance_levels[new_state->performance_level_count - 1].sclk >= in ni_set_uvd_clock_before_set_eng_clock()
3195 current_state->performance_levels[current_state->performance_level_count - 1].sclk) in ni_set_uvd_clock_before_set_eng_clock()
3212 if (new_state->performance_levels[new_state->performance_level_count - 1].sclk < in ni_set_uvd_clock_after_set_eng_clock()
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.c3349 if (smu7_ps->performance_levels[i].memory_clock > max_limits->mclk) in smu7_apply_state_adjust_rules()
3350 smu7_ps->performance_levels[i].memory_clock = max_limits->mclk; in smu7_apply_state_adjust_rules()
3351 if (smu7_ps->performance_levels[i].engine_clock > max_limits->sclk) in smu7_apply_state_adjust_rules()
3352 smu7_ps->performance_levels[i].engine_clock = max_limits->sclk; in smu7_apply_state_adjust_rules()
3402 sclk = smu7_ps->performance_levels[0].engine_clock; in smu7_apply_state_adjust_rules()
3403 mclk = smu7_ps->performance_levels[0].memory_clock; in smu7_apply_state_adjust_rules()
3408 mclk = smu7_ps->performance_levels in smu7_apply_state_adjust_rules()
3419 smu7_ps->performance_levels[0].engine_clock = sclk; in smu7_apply_state_adjust_rules()
3420 smu7_ps->performance_levels[0].memory_clock = mclk; in smu7_apply_state_adjust_rules()
3422 smu7_ps->performance_levels[1].engine_clock = in smu7_apply_state_adjust_rules()
[all …]
H A Dvega10_hwmgr.c3188 performance_level = &(vega10_ps->performance_levels in vega10_get_pp_table_entry_callback_func()
3212 performance_level = &(vega10_ps->performance_levels in vega10_get_pp_table_entry_callback_func()
3315 if (vega10_ps->performance_levels[i].mem_clock > in vega10_apply_state_adjust_rules()
3317 vega10_ps->performance_levels[i].mem_clock = in vega10_apply_state_adjust_rules()
3319 if (vega10_ps->performance_levels[i].gfx_clock > in vega10_apply_state_adjust_rules()
3321 vega10_ps->performance_levels[i].gfx_clock = in vega10_apply_state_adjust_rules()
3377 sclk = vega10_ps->performance_levels[0].gfx_clock; in vega10_apply_state_adjust_rules()
3378 mclk = vega10_ps->performance_levels[0].mem_clock; in vega10_apply_state_adjust_rules()
3388 vega10_ps->performance_levels[0].gfx_clock = sclk; in vega10_apply_state_adjust_rules()
3389 vega10_ps->performance_levels[0].mem_clock = mclk; in vega10_apply_state_adjust_rules()
[all …]
H A Dsmu7_hwmgr.h85 struct smu7_performance_level performance_levels[SMU7_MAX_HARDWARE_POWERLEVELS]; member
H A Dvega10_hwmgr.h112 struct vega10_performance_level performance_levels[VEGA10_MAX_HARDWARE_POWERLEVELS]; member
H A Dvega20_hwmgr.h129 struct vega20_performance_level performance_levels[VEGA20_MAX_HARDWARE_POWERLEVELS]; member
/linux/drivers/platform/x86/
H A Dsamsung-laptop.c149 const struct sabi_performance_level performance_levels[4]; member
206 .performance_levels = {
269 .performance_levels = {
665 for (i = 0; config->performance_levels[i].name; ++i) { in get_performance_level()
666 if (sretval.data[0] == config->performance_levels[i].value) in get_performance_level()
667 return sysfs_emit(buf, "%s\n", config->performance_levels[i].name); in get_performance_level()
684 for (i = 0; config->performance_levels[i].name; ++i) { in set_performance_level()
686 &config->performance_levels[i]; in set_performance_level()
695 if (!config->performance_levels[i].name) in set_performance_level()
1311 ok = !!samsung->config->performance_levels[0].name; in samsung_sysfs_is_visible()