Home
last modified time | relevance | path

Searched refs:soft_max_level (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c480 dpm_state->soft_max_level = 0xffff; in vega12_init_dpm_state()
1227 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1238 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1249 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1258 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1268 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1279 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1634 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_highest()
1640 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_dpm_highest()
1663 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_lowest()
[all …]
Dvega20_hwmgr.c521 dpm_state->soft_max_level = VG20_CLOCK_MAX_DEFAULT; in vega20_init_dpm_state()
1927 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1939 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1951 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1960 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1971 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1983 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1995 max_freq = data->dpm_table.fclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
2390 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega20_force_dpm_highest()
2396 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega20_force_dpm_highest()
[all …]
Dvega10_hwmgr.h128 uint32_t soft_max_level; member
Dvega12_hwmgr.h102 uint32_t soft_max_level; member
Dvega20_hwmgr.h154 uint32_t soft_max_level; member
Dvega10_hwmgr.c1226 dpm_state->soft_max_level = 0xff; in vega10_init_dpm_state()
3654 data->dpm_table.gfx_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level()
3659 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level()
3666 data->dpm_table.mem_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level()
3671 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level()
3681 data->dpm_table.soc_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level()
3686 data->dpm_table.soc_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.h41 uint32_t soft_max_level; member
Darcturus_ppt.c905 uint32_t soft_min_level, soft_max_level; in arcturus_force_clk_levels() local
923 soft_max_level = mask ? (fls(mask) - 1) : 0; in arcturus_force_clk_levels()
928 if (soft_max_level >= single_dpm_table->count) { in arcturus_force_clk_levels()
930 soft_max_level, single_dpm_table->count - 1); in arcturus_force_clk_levels()
947 soft_max_level); in arcturus_force_clk_levels()
Dnavi10_ppt.c1117 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in navi10_force_clk_levels() local
1120 soft_max_level = mask ? (fls(mask) - 1) : 0; in navi10_force_clk_levels()
1131 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in navi10_force_clk_levels()
1139 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in navi10_force_clk_levels()
Dsienna_cichlid_ppt.c1038 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in sienna_cichlid_force_clk_levels() local
1041 soft_max_level = mask ? (fls(mask) - 1) : 0; in sienna_cichlid_force_clk_levels()
1055 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in sienna_cichlid_force_clk_levels()
1063 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in sienna_cichlid_force_clk_levels()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c699 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in renoir_force_clk_levels() local
702 soft_max_level = mask ? (fls(mask) - 1) : 0; in renoir_force_clk_levels()
707 if (soft_min_level > 2 || soft_max_level > 2) { in renoir_force_clk_levels()
716 soft_max_level == 0 ? min_freq : in renoir_force_clk_levels()
717 soft_max_level == 1 ? RENOIR_UMD_PSTATE_GFXCLK : max_freq, in renoir_force_clk_levels()
732 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels()
747 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels()