Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/radeon/
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 …]
Dsi_dpm.c2303 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()
[all …]
Dci_dpm.c806 if (ps->performance_levels[i].mclk > max_limits->mclk) in ci_apply_state_adjust_rules()
807 ps->performance_levels[i].mclk = max_limits->mclk; in ci_apply_state_adjust_rules()
808 if (ps->performance_levels[i].sclk > max_limits->sclk) in ci_apply_state_adjust_rules()
809 ps->performance_levels[i].sclk = max_limits->sclk; in ci_apply_state_adjust_rules()
816 mclk = ps->performance_levels[ps->performance_level_count - 1].mclk; in ci_apply_state_adjust_rules()
817 sclk = ps->performance_levels[0].sclk; in ci_apply_state_adjust_rules()
819 mclk = ps->performance_levels[0].mclk; in ci_apply_state_adjust_rules()
820 sclk = ps->performance_levels[0].sclk; in ci_apply_state_adjust_rules()
830 ps->performance_levels[0].sclk = sclk; in ci_apply_state_adjust_rules()
831 ps->performance_levels[0].mclk = mclk; in ci_apply_state_adjust_rules()
[all …]
Dni_dpm.h175 struct rv7xx_pl performance_levels[NISLANDS_MAX_SMC_PERFORMANCE_LEVELS_PER_SWSTATE]; member
Dci_dpm.h50 struct ci_pl performance_levels[CISLANDS_MAX_HARDWARE_POWERLEVELS]; member
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c2417 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()
2418 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2436 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2437 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2443 state->performance_levels[i-1].vddc, &vddc); in si_populate_power_containment_values()
2452 state->performance_levels[i].vddc, &vddc); in si_populate_power_containment_values()
2511 if ((state->performance_levels[i].sclk >= adev->pm.dpm.sq_ramping_threshold) && in si_populate_sq_ramping_values()
3178 if (new_state->performance_levels[new_state->performance_level_count - 1].sclk >= in ni_set_uvd_clock_before_set_eng_clock()
3179 current_state->performance_levels[current_state->performance_level_count - 1].sclk) in ni_set_uvd_clock_before_set_eng_clock()
3196 if (new_state->performance_levels[new_state->performance_level_count - 1].sclk < in ni_set_uvd_clock_after_set_eng_clock()
[all …]
Dsi_dpm.h624 struct rv7xx_pl performance_levels[NISLANDS_MAX_SMC_PERFORMANCE_LEVELS_PER_SWSTATE]; member
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c3348 if (smu7_ps->performance_levels[i].memory_clock > max_limits->mclk) in smu7_apply_state_adjust_rules()
3349 smu7_ps->performance_levels[i].memory_clock = max_limits->mclk; in smu7_apply_state_adjust_rules()
3350 if (smu7_ps->performance_levels[i].engine_clock > max_limits->sclk) in smu7_apply_state_adjust_rules()
3351 smu7_ps->performance_levels[i].engine_clock = max_limits->sclk; in smu7_apply_state_adjust_rules()
3401 sclk = smu7_ps->performance_levels[0].engine_clock; in smu7_apply_state_adjust_rules()
3402 mclk = smu7_ps->performance_levels[0].memory_clock; in smu7_apply_state_adjust_rules()
3407 mclk = smu7_ps->performance_levels in smu7_apply_state_adjust_rules()
3418 smu7_ps->performance_levels[0].engine_clock = sclk; in smu7_apply_state_adjust_rules()
3419 smu7_ps->performance_levels[0].memory_clock = mclk; in smu7_apply_state_adjust_rules()
3421 smu7_ps->performance_levels[1].engine_clock = in smu7_apply_state_adjust_rules()
[all …]
Dvega10_hwmgr.c3170 performance_level = &(vega10_ps->performance_levels in vega10_get_pp_table_entry_callback_func()
3194 performance_level = &(vega10_ps->performance_levels in vega10_get_pp_table_entry_callback_func()
3294 if (vega10_ps->performance_levels[i].mem_clock > in vega10_apply_state_adjust_rules()
3296 vega10_ps->performance_levels[i].mem_clock = in vega10_apply_state_adjust_rules()
3298 if (vega10_ps->performance_levels[i].gfx_clock > in vega10_apply_state_adjust_rules()
3300 vega10_ps->performance_levels[i].gfx_clock = in vega10_apply_state_adjust_rules()
3356 sclk = vega10_ps->performance_levels[0].gfx_clock; in vega10_apply_state_adjust_rules()
3357 mclk = vega10_ps->performance_levels[0].mem_clock; in vega10_apply_state_adjust_rules()
3367 vega10_ps->performance_levels[0].gfx_clock = sclk; in vega10_apply_state_adjust_rules()
3368 vega10_ps->performance_levels[0].mem_clock = mclk; in vega10_apply_state_adjust_rules()
[all …]
Dsmu7_hwmgr.h85 struct smu7_performance_level performance_levels[SMU7_MAX_HARDWARE_POWERLEVELS]; member
Dvega10_hwmgr.h112 struct vega10_performance_level performance_levels[VEGA10_MAX_HARDWARE_POWERLEVELS]; member
Dvega20_hwmgr.h129 struct vega20_performance_level performance_levels[VEGA20_MAX_HARDWARE_POWERLEVELS]; member
/linux-6.6.21/drivers/platform/x86/
Dsamsung-laptop.c148 const struct sabi_performance_level performance_levels[4]; member
205 .performance_levels = {
268 .performance_levels = {
662 for (i = 0; config->performance_levels[i].name; ++i) { in get_performance_level()
663 if (sretval.data[0] == config->performance_levels[i].value) in get_performance_level()
664 return sprintf(buf, "%s\n", config->performance_levels[i].name); in get_performance_level()
681 for (i = 0; config->performance_levels[i].name; ++i) { in set_performance_level()
683 &config->performance_levels[i]; in set_performance_level()
692 if (!config->performance_levels[i].name) in set_performance_level()
1206 ok = !!samsung->config->performance_levels[0].name; in samsung_sysfs_is_visible()