| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | vega20_hwmgr.c | 531 dpm_state->soft_max_level = VG20_CLOCK_MAX_DEFAULT; in vega20_init_dpm_state() 1930 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1942 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1954 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1963 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1974 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1986 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1998 max_freq = data->dpm_table.fclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 2401 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega20_force_dpm_highest() 2407 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega20_force_dpm_highest() [all …]
|
| H A D | vega12_hwmgr.c | 489 dpm_state->soft_max_level = 0xffff; in vega12_init_dpm_state() 1257 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1268 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1279 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1288 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1298 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1309 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1664 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_highest() 1670 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_dpm_highest() 1693 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_lowest() [all …]
|
| H A D | vega12_hwmgr.h | 101 uint32_t soft_max_level; member
|
| H A D | vega10_hwmgr.h | 128 uint32_t soft_max_level; member
|
| H A D | vega20_hwmgr.h | 154 uint32_t soft_max_level; member
|
| H A D | vega10_hwmgr.c | 1234 dpm_state->soft_max_level = 0xff; in vega10_init_dpm_state() 3706 data->dpm_table.gfx_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3711 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level() 3718 data->dpm_table.mem_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3723 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level() 3733 data->dpm_table.soc_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3738 data->dpm_table.soc_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| H A D | aldebaran_ppt.h | 41 uint32_t soft_max_level; member
|
| H A D | smu_v13_0_5_ppt.c | 944 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_5_force_clk_levels() local 949 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_5_force_clk_levels() 958 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()
|
| H A D | aldebaran_ppt.c | 917 uint32_t soft_min_level, soft_max_level; in aldebaran_force_clk_levels() local 921 soft_max_level = mask ? (fls(mask) - 1) : 0; in aldebaran_force_clk_levels() 926 if (soft_max_level >= single_dpm_table->count) { in aldebaran_force_clk_levels() 928 soft_max_level, single_dpm_table->count - 1); in aldebaran_force_clk_levels() 945 soft_max_level); in aldebaran_force_clk_levels()
|
| H A D | smu_v13_0_4_ppt.c | 896 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_4_force_clk_levels() local 901 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_4_force_clk_levels() 912 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()
|
| H A D | yellow_carp_ppt.c | 1126 uint32_t soft_min_level = 0, soft_max_level = 0; in yellow_carp_force_clk_levels() local 1131 soft_max_level = mask ? (fls(mask) - 1) : 0; in yellow_carp_force_clk_levels() 1142 ret = yellow_carp_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in yellow_carp_force_clk_levels()
|
| H A D | smu_v13_0_7_ppt.c | 1927 uint32_t soft_min_level, soft_max_level; in smu_v13_0_7_force_clk_levels() local 1932 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_7_force_clk_levels() 1974 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_7_force_clk_levels() 1977 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_7_force_clk_levels() 1983 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_7_force_clk_levels()
|
| H A D | smu_v13_0_0_ppt.c | 1917 uint32_t soft_min_level, soft_max_level; in smu_v13_0_0_force_clk_levels() local 1922 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_0_force_clk_levels() 1964 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_0_force_clk_levels() 1967 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_0_force_clk_levels() 1973 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_0_force_clk_levels()
|
| H A D | smu_v13_0_6_ppt.c | 1507 uint32_t soft_min_level, soft_max_level; in smu_v13_0_6_force_clk_levels() local 1511 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_6_force_clk_levels() 1516 if (soft_max_level >= single_dpm_table->count) { in smu_v13_0_6_force_clk_levels() 1519 soft_max_level, single_dpm_table->count - 1); in smu_v13_0_6_force_clk_levels() 1535 soft_max_level); in smu_v13_0_6_force_clk_levels()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| H A D | arcturus_ppt.h | 41 uint32_t soft_max_level; member
|
| H A D | arcturus_ppt.c | 942 uint32_t soft_min_level, soft_max_level; in arcturus_force_clk_levels() local 953 soft_max_level = mask ? (fls(mask) - 1) : 0; in arcturus_force_clk_levels() 958 if (soft_max_level >= single_dpm_table->count) { in arcturus_force_clk_levels() 960 soft_max_level, single_dpm_table->count - 1); in arcturus_force_clk_levels() 977 soft_max_level); in arcturus_force_clk_levels()
|
| H A D | vangogh_ppt.c | 1168 uint32_t soft_min_level = 0, soft_max_level = 0; in vangogh_force_clk_levels() local 1173 soft_max_level = mask ? (fls(mask) - 1) : 0; in vangogh_force_clk_levels() 1182 soft_max_level, &max_freq); in vangogh_force_clk_levels() 1202 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels() 1223 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels() 1248 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels()
|
| H A D | navi10_ppt.c | 1412 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in navi10_force_clk_levels() local 1415 soft_max_level = mask ? (fls(mask) - 1) : 0; in navi10_force_clk_levels() 1430 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in navi10_force_clk_levels() 1438 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in navi10_force_clk_levels()
|
| H A D | sienna_cichlid_ppt.c | 1406 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in sienna_cichlid_force_clk_levels() local 1409 soft_max_level = mask ? (fls(mask) - 1) : 0; in sienna_cichlid_force_clk_levels() 1420 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in sienna_cichlid_force_clk_levels() 1428 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in sienna_cichlid_force_clk_levels()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
| H A D | renoir_ppt.c | 791 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in renoir_force_clk_levels() local 794 soft_max_level = mask ? (fls(mask) - 1) : 0; in renoir_force_clk_levels() 799 if (soft_min_level > 2 || soft_max_level > 2) { in renoir_force_clk_levels() 808 soft_max_level == 0 ? min_freq : in renoir_force_clk_levels() 809 soft_max_level == 1 ? RENOIR_UMD_PSTATE_GFXCLK : max_freq, in renoir_force_clk_levels() 824 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels() 839 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
| H A D | smu_v14_0_2_ppt.c | 1279 uint32_t soft_min_level, soft_max_level; in smu_v14_0_2_force_clk_levels() local 1284 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v14_0_2_force_clk_levels() 1326 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v14_0_2_force_clk_levels() 1329 if ((soft_max_level >= single_dpm_table->count) || in smu_v14_0_2_force_clk_levels() 1335 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v14_0_2_force_clk_levels()
|
| H A D | smu_v14_0_0_ppt.c | 1275 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v14_0_0_force_clk_levels() local 1280 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v14_0_0_force_clk_levels() 1293 ret = smu_v14_0_common_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in smu_v14_0_0_force_clk_levels()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu15/ |
| H A D | smu_v15_0_0_ppt.c | 1127 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v15_0_0_force_clk_levels() local 1132 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v15_0_0_force_clk_levels() 1145 ret = smu_v15_0_common_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in smu_v15_0_0_force_clk_levels()
|