/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega20_hwmgr.c | 520 dpm_state->soft_max_level = VG20_CLOCK_MAX_DEFAULT; in vega20_init_dpm_state() 1919 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1931 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1943 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1952 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1963 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1975 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1987 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 …]
|
D | vega12_hwmgr.c | 479 dpm_state->soft_max_level = 0xffff; in vega12_init_dpm_state() 1247 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1258 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1269 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1278 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1288 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1299 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1654 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_highest() 1660 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_dpm_highest() 1683 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_lowest() [all …]
|
D | vega10_hwmgr.h | 128 uint32_t soft_max_level; member
|
D | vega12_hwmgr.h | 101 uint32_t soft_max_level; member
|
D | vega20_hwmgr.h | 154 uint32_t soft_max_level; member
|
D | vega10_hwmgr.c | 1224 dpm_state->soft_max_level = 0xff; in vega10_init_dpm_state() 3681 data->dpm_table.gfx_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3686 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level() 3693 data->dpm_table.mem_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3698 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level() 3708 data->dpm_table.soc_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3713 data->dpm_table.soc_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level()
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | arcturus_ppt.h | 41 uint32_t soft_max_level; member
|
D | vangogh_ppt.c | 1199 uint32_t soft_min_level = 0, soft_max_level = 0; in vangogh_force_clk_levels() local 1204 soft_max_level = mask ? (fls(mask) - 1) : 0; in vangogh_force_clk_levels() 1213 soft_max_level, &max_freq); in vangogh_force_clk_levels() 1233 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels() 1254 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels() 1279 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels()
|
D | arcturus_ppt.c | 1007 uint32_t soft_min_level, soft_max_level; in arcturus_force_clk_levels() local 1025 soft_max_level = mask ? (fls(mask) - 1) : 0; in arcturus_force_clk_levels() 1030 if (soft_max_level >= single_dpm_table->count) { in arcturus_force_clk_levels() 1032 soft_max_level, single_dpm_table->count - 1); in arcturus_force_clk_levels() 1049 soft_max_level); in arcturus_force_clk_levels()
|
D | navi10_ppt.c | 1658 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in navi10_force_clk_levels() local 1661 soft_max_level = mask ? (fls(mask) - 1) : 0; in navi10_force_clk_levels() 1672 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in navi10_force_clk_levels() 1680 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in navi10_force_clk_levels()
|
D | sienna_cichlid_ppt.c | 1433 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in sienna_cichlid_force_clk_levels() local 1436 soft_max_level = mask ? (fls(mask) - 1) : 0; in sienna_cichlid_force_clk_levels() 1447 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in sienna_cichlid_force_clk_levels() 1455 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in sienna_cichlid_force_clk_levels()
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | aldebaran_ppt.h | 41 uint32_t soft_max_level; member
|
D | smu_v13_0_5_ppt.c | 951 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_5_force_clk_levels() local 956 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_5_force_clk_levels() 965 ret = smu_v13_0_5_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in smu_v13_0_5_force_clk_levels()
|
D | smu_v13_0_4_ppt.c | 894 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_4_force_clk_levels() local 899 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_4_force_clk_levels() 910 ret = smu_v13_0_4_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in smu_v13_0_4_force_clk_levels()
|
D | smu_v13_0_7_ppt.c | 1569 uint32_t soft_min_level, soft_max_level; in smu_v13_0_7_force_clk_levels() local 1574 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_7_force_clk_levels() 1616 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_7_force_clk_levels() 1619 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_7_force_clk_levels() 1625 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_7_force_clk_levels()
|
D | aldebaran_ppt.c | 996 uint32_t soft_min_level, soft_max_level; in aldebaran_force_clk_levels() local 1000 soft_max_level = mask ? (fls(mask) - 1) : 0; in aldebaran_force_clk_levels() 1005 if (soft_max_level >= single_dpm_table->count) { in aldebaran_force_clk_levels() 1007 soft_max_level, single_dpm_table->count - 1); in aldebaran_force_clk_levels() 1024 soft_max_level); in aldebaran_force_clk_levels()
|
D | smu_v13_0_0_ppt.c | 1588 uint32_t soft_min_level, soft_max_level; in smu_v13_0_0_force_clk_levels() local 1593 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_0_force_clk_levels() 1635 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_0_force_clk_levels() 1638 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_0_force_clk_levels() 1644 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_0_force_clk_levels()
|
D | yellow_carp_ppt.c | 1133 uint32_t soft_min_level = 0, soft_max_level = 0; in yellow_carp_force_clk_levels() local 1138 soft_max_level = mask ? (fls(mask) - 1) : 0; in yellow_carp_force_clk_levels() 1149 ret = yellow_carp_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in yellow_carp_force_clk_levels()
|
D | smu_v13_0_6_ppt.c | 1070 uint32_t soft_min_level, soft_max_level; in smu_v13_0_6_force_clk_levels() local 1074 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_6_force_clk_levels() 1079 if (soft_max_level >= single_dpm_table->count) { in smu_v13_0_6_force_clk_levels() 1082 soft_max_level, single_dpm_table->count - 1); in smu_v13_0_6_force_clk_levels() 1098 soft_max_level); in smu_v13_0_6_force_clk_levels()
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
D | renoir_ppt.c | 802 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in renoir_force_clk_levels() local 805 soft_max_level = mask ? (fls(mask) - 1) : 0; in renoir_force_clk_levels() 810 if (soft_min_level > 2 || soft_max_level > 2) { in renoir_force_clk_levels() 819 soft_max_level == 0 ? min_freq : in renoir_force_clk_levels() 820 soft_max_level == 1 ? RENOIR_UMD_PSTATE_GFXCLK : max_freq, in renoir_force_clk_levels() 835 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels() 850 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels()
|