| /linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| H A D | smu_v13_0_5_ppt.c | 1005 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_5_set_performance_level() local 1015 sclk_min = sclk_max; in smu_v13_0_5_set_performance_level() 1020 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, NULL); in smu_v13_0_5_set_performance_level() 1023 sclk_max = sclk_min; in smu_v13_0_5_set_performance_level() 1028 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_5_set_performance_level() 1035 smu_v13_0_5_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_5_set_performance_level() 1050 if (sclk_min && sclk_max) { in smu_v13_0_5_set_performance_level() 1053 sclk_min, in smu_v13_0_5_set_performance_level() 1059 smu->gfx_actual_hard_min_freq = sclk_min; in smu_v13_0_5_set_performance_level()
|
| H A D | smu_v13_0_4_ppt.c | 968 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_4_set_performance_level() local 982 sclk_min = sclk_max; in smu_v13_0_4_set_performance_level() 989 smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, NULL); in smu_v13_0_4_set_performance_level() 994 sclk_max = sclk_min; in smu_v13_0_4_set_performance_level() 1001 smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_4_set_performance_level() 1011 smu_v13_0_4_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_4_set_performance_level() 1025 if (sclk_min && sclk_max) { in smu_v13_0_4_set_performance_level() 1028 sclk_min, in smu_v13_0_4_set_performance_level() 1033 smu->gfx_actual_hard_min_freq = sclk_min; in smu_v13_0_4_set_performance_level()
|
| H A D | yellow_carp_ppt.c | 1200 uint32_t sclk_min = 0, sclk_max = 0; in yellow_carp_set_performance_level() local 1215 sclk_min = sclk_max; in yellow_carp_set_performance_level() 1222 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, NULL); in yellow_carp_set_performance_level() 1227 sclk_max = sclk_min; in yellow_carp_set_performance_level() 1234 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in yellow_carp_set_performance_level() 1244 yellow_carp_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in yellow_carp_set_performance_level() 1258 if (sclk_min && sclk_max) { in yellow_carp_set_performance_level() 1261 sclk_min, in yellow_carp_set_performance_level() 1267 smu->gfx_actual_hard_min_freq = sclk_min; in yellow_carp_set_performance_level()
|
| H A D | smu_v13_0.c | 1709 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_set_performance_level() local 1720 sclk_min = sclk_max = gfx_table->max; in smu_v13_0_set_performance_level() 1728 sclk_min = sclk_max = gfx_table->min; in smu_v13_0_set_performance_level() 1736 sclk_min = gfx_table->min; in smu_v13_0_set_performance_level() 1751 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v13_0_set_performance_level() 1759 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v13_0_set_performance_level() 1765 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v13_0_set_performance_level() 1793 if (sclk_min && sclk_max) { in smu_v13_0_set_performance_level() 1796 sclk_min, in smu_v13_0_set_performance_level() 1802 pstate_table->gfxclk_pstate.curr.min = sclk_min; in smu_v13_0_set_performance_level()
|
| /linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
| H A D | smu_v14_0_0_ppt.c | 1354 uint32_t sclk_min = 0, sclk_max = 0; in smu_v14_0_common_set_performance_level() local 1372 sclk_min = sclk_max; in smu_v14_0_common_set_performance_level() 1381 smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, NULL); in smu_v14_0_common_set_performance_level() 1388 sclk_max = sclk_min; in smu_v14_0_common_set_performance_level() 1397 smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v14_0_common_set_performance_level() 1409 smu_v14_0_common_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v14_0_common_set_performance_level() 1425 if (sclk_min && sclk_max) { in smu_v14_0_common_set_performance_level() 1428 sclk_min, in smu_v14_0_common_set_performance_level() 1433 smu->gfx_actual_hard_min_freq = sclk_min; in smu_v14_0_common_set_performance_level()
|
| H A D | smu_v14_0.c | 1260 uint32_t sclk_min = 0, sclk_max = 0; in smu_v14_0_set_performance_level() local 1271 sclk_min = sclk_max = gfx_table->max; in smu_v14_0_set_performance_level() 1279 sclk_min = sclk_max = gfx_table->min; in smu_v14_0_set_performance_level() 1287 sclk_min = gfx_table->min; in smu_v14_0_set_performance_level() 1302 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v14_0_set_performance_level() 1310 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v14_0_set_performance_level() 1316 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v14_0_set_performance_level() 1331 if (sclk_min && sclk_max) { in smu_v14_0_set_performance_level() 1334 sclk_min, in smu_v14_0_set_performance_level() 1340 pstate_table->gfxclk_pstate.curr.min = sclk_min; in smu_v14_0_set_performance_level()
|
| /linux-6.15/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| H A D | smu_v11_0.c | 1866 uint32_t sclk_min = 0, sclk_max = 0; in smu_v11_0_set_performance_level() local 1874 sclk_min = sclk_max = gfx_table->max; in smu_v11_0_set_performance_level() 1879 sclk_min = sclk_max = gfx_table->min; in smu_v11_0_set_performance_level() 1884 sclk_min = gfx_table->min; in smu_v11_0_set_performance_level() 1893 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v11_0_set_performance_level() 1898 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v11_0_set_performance_level() 1904 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v11_0_set_performance_level() 1926 if (sclk_min && sclk_max) { in smu_v11_0_set_performance_level() 1929 sclk_min, in smu_v11_0_set_performance_level()
|