| /drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| A D | vega20_hwmgr.c | 2480 uint32_t soft_min_level, soft_max_level; in vega20_unforce_dpm_levels() local 2486 soft_max_level = in vega20_unforce_dpm_levels() 2497 soft_max_level = in vega20_unforce_dpm_levels() 2508 soft_max_level = in vega20_unforce_dpm_levels() 2576 soft_max_level = mask ? (fls(mask) - 1) : 0; in vega20_force_clock_level() 2580 soft_max_level, in vega20_force_clock_level() 2603 soft_max_level = mask ? (fls(mask) - 1) : 0; in vega20_force_clock_level() 2607 soft_max_level, in vega20_force_clock_level() 2635 soft_max_level, in vega20_force_clock_level() 2663 soft_max_level, in vega20_force_clock_level() [all …]
|
| A D | vega12_hwmgr.c | 489 dpm_state->soft_max_level = 0xffff; in vega12_init_dpm_state() 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() 1699 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_dpm_lowest() 2035 soft_max_level = mask ? (fls(mask) - 1) : 0; in vega12_force_clock_level() 2039 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_clock_level() 2055 soft_max_level = mask ? (fls(mask) - 1) : 0; in vega12_force_clock_level() 2059 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_clock_level() 2076 soft_max_level = mask ? (fls(mask) - 1) : 0; in vega12_force_clock_level() [all …]
|
| A D | vega10_hwmgr.h | 128 uint32_t soft_max_level; member
|
| A D | vega12_hwmgr.h | 101 uint32_t soft_max_level; member
|
| A D | vega20_hwmgr.h | 154 uint32_t soft_max_level; member
|
| A D | vega10_hwmgr.c | 1235 dpm_state->soft_max_level = 0xff; in vega10_init_dpm_state() 3707 data->dpm_table.gfx_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3712 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level() 3719 data->dpm_table.mem_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3724 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level() 3734 data->dpm_table.soc_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3739 data->dpm_table.soc_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level()
|
| /drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| A D | arcturus_ppt.h | 41 uint32_t soft_max_level; member
|
| A D | arcturus_ppt.c | 1007 uint32_t soft_min_level, soft_max_level; in arcturus_force_clk_levels() local 1018 soft_max_level = mask ? (fls(mask) - 1) : 0; in arcturus_force_clk_levels() 1023 if (soft_max_level >= single_dpm_table->count) { in arcturus_force_clk_levels() 1025 soft_max_level, single_dpm_table->count - 1); in arcturus_force_clk_levels() 1042 soft_max_level); in arcturus_force_clk_levels()
|
| A D | vangogh_ppt.c | 1161 uint32_t soft_min_level = 0, soft_max_level = 0; in vangogh_force_clk_levels() local 1166 soft_max_level = mask ? (fls(mask) - 1) : 0; in vangogh_force_clk_levels() 1175 soft_max_level, &max_freq); in vangogh_force_clk_levels() 1195 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels() 1216 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels() 1241 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels()
|
| A D | sienna_cichlid_ppt.c | 1444 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in sienna_cichlid_force_clk_levels() local 1447 soft_max_level = mask ? (fls(mask) - 1) : 0; in sienna_cichlid_force_clk_levels() 1458 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in sienna_cichlid_force_clk_levels() 1466 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in sienna_cichlid_force_clk_levels()
|
| A D | navi10_ppt.c | 1664 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in navi10_force_clk_levels() local 1667 soft_max_level = mask ? (fls(mask) - 1) : 0; in navi10_force_clk_levels() 1682 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in navi10_force_clk_levels() 1690 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in navi10_force_clk_levels()
|
| /drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| A D | aldebaran_ppt.h | 41 uint32_t soft_max_level; member
|
| A D | smu_v13_0_5_ppt.c | 938 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_5_force_clk_levels() local 943 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_5_force_clk_levels() 952 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()
|
| A D | smu_v13_0_4_ppt.c | 890 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_4_force_clk_levels() local 895 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_4_force_clk_levels() 906 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()
|
| A D | aldebaran_ppt.c | 1044 uint32_t soft_min_level, soft_max_level; in aldebaran_force_clk_levels() local 1048 soft_max_level = mask ? (fls(mask) - 1) : 0; in aldebaran_force_clk_levels() 1053 if (soft_max_level >= single_dpm_table->count) { in aldebaran_force_clk_levels() 1055 soft_max_level, single_dpm_table->count - 1); in aldebaran_force_clk_levels() 1072 soft_max_level); in aldebaran_force_clk_levels()
|
| A D | yellow_carp_ppt.c | 1120 uint32_t soft_min_level = 0, soft_max_level = 0; in yellow_carp_force_clk_levels() local 1125 soft_max_level = mask ? (fls(mask) - 1) : 0; in yellow_carp_force_clk_levels() 1136 ret = yellow_carp_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in yellow_carp_force_clk_levels()
|
| A D | smu_v13_0_7_ppt.c | 1981 uint32_t soft_min_level, soft_max_level; in smu_v13_0_7_force_clk_levels() local 1986 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_7_force_clk_levels() 2028 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_7_force_clk_levels() 2031 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_7_force_clk_levels() 2037 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_7_force_clk_levels()
|
| A D | smu_v13_0_0_ppt.c | 1992 uint32_t soft_min_level, soft_max_level; in smu_v13_0_0_force_clk_levels() local 1997 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_0_force_clk_levels() 2039 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_0_force_clk_levels() 2042 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_0_force_clk_levels() 2048 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_0_force_clk_levels()
|
| A D | smu_v13_0_6_ppt.c | 1571 uint32_t soft_min_level, soft_max_level; in smu_v13_0_6_force_clk_levels() local 1575 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_6_force_clk_levels() 1580 if (soft_max_level >= single_dpm_table->count) { in smu_v13_0_6_force_clk_levels() 1583 soft_max_level, single_dpm_table->count - 1); in smu_v13_0_6_force_clk_levels() 1599 soft_max_level); in smu_v13_0_6_force_clk_levels()
|
| /drivers/gpu/drm/amd/pm/swsmu/smu12/ |
| A D | renoir_ppt.c | 797 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in renoir_force_clk_levels() local 800 soft_max_level = mask ? (fls(mask) - 1) : 0; in renoir_force_clk_levels() 805 if (soft_min_level > 2 || soft_max_level > 2) { in renoir_force_clk_levels() 814 soft_max_level == 0 ? min_freq : in renoir_force_clk_levels() 815 soft_max_level == 1 ? RENOIR_UMD_PSTATE_GFXCLK : max_freq, in renoir_force_clk_levels() 830 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels() 845 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels()
|
| /drivers/gpu/drm/amd/pm/swsmu/smu14/ |
| A D | smu_v14_0_2_ppt.c | 1387 uint32_t soft_min_level, soft_max_level; in smu_v14_0_2_force_clk_levels() local 1392 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v14_0_2_force_clk_levels() 1434 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v14_0_2_force_clk_levels() 1437 if ((soft_max_level >= single_dpm_table->count) || in smu_v14_0_2_force_clk_levels() 1443 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v14_0_2_force_clk_levels()
|
| A D | smu_v14_0_0_ppt.c | 1268 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v14_0_0_force_clk_levels() local 1273 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v14_0_0_force_clk_levels() 1286 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()
|