Home
last modified time | relevance | path

Searched refs:sclk_max (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_5_ppt.c1011 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_5_set_performance_level() local
1018 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v13_0_5_set_performance_level()
1021 sclk_min = sclk_max; in smu_v13_0_5_set_performance_level()
1029 sclk_max = sclk_min; in smu_v13_0_5_set_performance_level()
1034 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_5_set_performance_level()
1041 smu_v13_0_5_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_5_set_performance_level()
1056 if (sclk_min && sclk_max) { in smu_v13_0_5_set_performance_level()
1060 sclk_max, in smu_v13_0_5_set_performance_level()
1066 smu->gfx_actual_soft_max_freq = sclk_max; in smu_v13_0_5_set_performance_level()
H A Dsmu_v13_0_4_ppt.c974 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_4_set_performance_level() local
983 smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v13_0_4_set_performance_level()
988 sclk_min = sclk_max; in smu_v13_0_4_set_performance_level()
1000 sclk_max = sclk_min; in smu_v13_0_4_set_performance_level()
1007 smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_4_set_performance_level()
1017 smu_v13_0_4_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_4_set_performance_level()
1031 if (sclk_min && sclk_max) { in smu_v13_0_4_set_performance_level()
1035 sclk_max); in smu_v13_0_4_set_performance_level()
1040 smu->gfx_actual_soft_max_freq = sclk_max; in smu_v13_0_4_set_performance_level()
H A Dyellow_carp_ppt.c1206 uint32_t sclk_min = 0, sclk_max = 0; in yellow_carp_set_performance_level() local
1216 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in yellow_carp_set_performance_level()
1221 sclk_min = sclk_max; in yellow_carp_set_performance_level()
1233 sclk_max = sclk_min; in yellow_carp_set_performance_level()
1240 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in yellow_carp_set_performance_level()
1250 yellow_carp_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in yellow_carp_set_performance_level()
1264 if (sclk_min && sclk_max) { in yellow_carp_set_performance_level()
1268 sclk_max, in yellow_carp_set_performance_level()
1274 smu->gfx_actual_soft_max_freq = sclk_max; in yellow_carp_set_performance_level()
H A Dsmu_v13_0.c1596 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_set_performance_level() local
1607 sclk_min = sclk_max = SMU_DPM_TABLE_MAX(gfx_table); in smu_v13_0_set_performance_level()
1615 sclk_min = sclk_max = SMU_DPM_TABLE_MIN(gfx_table); in smu_v13_0_set_performance_level()
1624 sclk_max = SMU_DPM_TABLE_MAX(gfx_table); in smu_v13_0_set_performance_level()
1638 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v13_0_set_performance_level()
1646 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v13_0_set_performance_level()
1652 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v13_0_set_performance_level()
1680 if (sclk_min && sclk_max) { in smu_v13_0_set_performance_level()
1684 sclk_max, in smu_v13_0_set_performance_level()
1690 pstate_table->gfxclk_pstate.curr.max = sclk_max; in smu_v13_0_set_performance_level()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu15/
H A Dsmu_v15_0_0_ppt.c1216 uint32_t sclk_min = 0, sclk_max = 0; in smu_v15_0_common_set_performance_level() local
1227 smu_v15_0_common_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v15_0_common_set_performance_level()
1234 sclk_min = sclk_max; in smu_v15_0_common_set_performance_level()
1250 sclk_max = sclk_min; in smu_v15_0_common_set_performance_level()
1259 smu_v15_0_common_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v15_0_common_set_performance_level()
1271 smu_v15_0_common_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v15_0_common_set_performance_level()
1287 if (sclk_min && sclk_max) { in smu_v15_0_common_set_performance_level()
1291 sclk_max); in smu_v15_0_common_set_performance_level()
1296 smu->gfx_actual_soft_max_freq = sclk_max; in smu_v15_0_common_set_performance_level()
H A Dsmu_v15_0.c1147 uint32_t sclk_min = 0, sclk_max = 0; in smu_v15_0_set_performance_level() local
1158 sclk_min = sclk_max = gfx_table->max; in smu_v15_0_set_performance_level()
1166 sclk_min = sclk_max = gfx_table->min; in smu_v15_0_set_performance_level()
1175 sclk_max = gfx_table->max; in smu_v15_0_set_performance_level()
1189 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v15_0_set_performance_level()
1197 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v15_0_set_performance_level()
1203 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v15_0_set_performance_level()
1218 if (sclk_min && sclk_max) { in smu_v15_0_set_performance_level()
1222 sclk_max, in smu_v15_0_set_performance_level()
1228 pstate_table->gfxclk_pstate.curr.max = sclk_max; in smu_v15_0_set_performance_level()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0.c1258 uint32_t sclk_min = 0, sclk_max = 0; in smu_v14_0_set_performance_level() local
1269 sclk_min = sclk_max = SMU_DPM_TABLE_MAX(gfx_table); in smu_v14_0_set_performance_level()
1277 sclk_min = sclk_max = SMU_DPM_TABLE_MIN(gfx_table); in smu_v14_0_set_performance_level()
1286 sclk_max = SMU_DPM_TABLE_MAX(gfx_table); in smu_v14_0_set_performance_level()
1300 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v14_0_set_performance_level()
1308 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v14_0_set_performance_level()
1314 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v14_0_set_performance_level()
1329 if (sclk_min && sclk_max) { in smu_v14_0_set_performance_level()
1333 sclk_max, in smu_v14_0_set_performance_level()
1339 pstate_table->gfxclk_pstate.curr.max = sclk_max; in smu_v14_0_set_performance_level()
H A Dsmu_v14_0_0_ppt.c1370 uint32_t sclk_min = 0, sclk_max = 0; in smu_v14_0_common_set_performance_level() local
1381 smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v14_0_common_set_performance_level()
1388 sclk_min = sclk_max; in smu_v14_0_common_set_performance_level()
1404 sclk_max = sclk_min; in smu_v14_0_common_set_performance_level()
1413 smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v14_0_common_set_performance_level()
1425 smu_v14_0_common_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v14_0_common_set_performance_level()
1441 if (sclk_min && sclk_max) { in smu_v14_0_common_set_performance_level()
1445 sclk_max, in smu_v14_0_common_set_performance_level()
1451 smu->gfx_actual_soft_max_freq = sclk_max; in smu_v14_0_common_set_performance_level()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c1868 uint32_t sclk_min = 0, sclk_max = 0; in smu_v11_0_set_performance_level() local
1876 sclk_min = sclk_max = SMU_DPM_TABLE_MAX(gfx_table); in smu_v11_0_set_performance_level()
1881 sclk_min = sclk_max = SMU_DPM_TABLE_MIN(gfx_table); in smu_v11_0_set_performance_level()
1887 sclk_max = SMU_DPM_TABLE_MAX(gfx_table); in smu_v11_0_set_performance_level()
1895 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v11_0_set_performance_level()
1900 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v11_0_set_performance_level()
1906 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v11_0_set_performance_level()
1928 if (sclk_min && sclk_max) { in smu_v11_0_set_performance_level()
1932 sclk_max, in smu_v11_0_set_performance_level()