Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_5_ppt.c1002 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_5_set_performance_level() local
1009 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v13_0_5_set_performance_level()
1012 sclk_min = sclk_max; in smu_v13_0_5_set_performance_level()
1020 sclk_max = sclk_min; in smu_v13_0_5_set_performance_level()
1025 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_5_set_performance_level()
1032 smu_v13_0_5_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_5_set_performance_level()
1047 if (sclk_min && sclk_max) { in smu_v13_0_5_set_performance_level()
1051 sclk_max); in smu_v13_0_5_set_performance_level()
1056 smu->gfx_actual_soft_max_freq = sclk_max; in smu_v13_0_5_set_performance_level()
H A Dsmu_v13_0_4_ppt.c968 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_4_set_performance_level() local
977 smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v13_0_4_set_performance_level()
982 sclk_min = sclk_max; 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()
1029 sclk_max); in smu_v13_0_4_set_performance_level()
1034 smu->gfx_actual_soft_max_freq = sclk_max; in smu_v13_0_4_set_performance_level()
H A Dyellow_carp_ppt.c1197 uint32_t sclk_min = 0, sclk_max = 0; in yellow_carp_set_performance_level() local
1207 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in yellow_carp_set_performance_level()
1212 sclk_min = sclk_max; in yellow_carp_set_performance_level()
1224 sclk_max = sclk_min; in yellow_carp_set_performance_level()
1231 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in yellow_carp_set_performance_level()
1241 yellow_carp_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in yellow_carp_set_performance_level()
1255 if (sclk_min && sclk_max) { in yellow_carp_set_performance_level()
1259 sclk_max); in yellow_carp_set_performance_level()
1264 smu->gfx_actual_soft_max_freq = sclk_max; in yellow_carp_set_performance_level()
H A Dsmu_v13_0.c1704 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_set_performance_level() local
1714 sclk_min = sclk_max = gfx_table->max; in smu_v13_0_set_performance_level()
1722 sclk_min = sclk_max = gfx_table->min; in smu_v13_0_set_performance_level()
1731 sclk_max = gfx_table->max; in smu_v13_0_set_performance_level()
1744 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v13_0_set_performance_level()
1752 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v13_0_set_performance_level()
1758 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v13_0_set_performance_level()
1785 if (sclk_min && sclk_max) { in smu_v13_0_set_performance_level()
1789 sclk_max); in smu_v13_0_set_performance_level()
1794 pstate_table->gfxclk_pstate.curr.max = sclk_max; in smu_v13_0_set_performance_level()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0_0_ppt.c1353 uint32_t sclk_min = 0, sclk_max = 0; in smu_v14_0_common_set_performance_level() local
1364 smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v14_0_common_set_performance_level()
1371 sclk_min = sclk_max; in smu_v14_0_common_set_performance_level()
1387 sclk_max = sclk_min; in smu_v14_0_common_set_performance_level()
1396 smu_v14_0_common_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v14_0_common_set_performance_level()
1408 smu_v14_0_common_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v14_0_common_set_performance_level()
1424 if (sclk_min && sclk_max) { in smu_v14_0_common_set_performance_level()
1428 sclk_max); in smu_v14_0_common_set_performance_level()
1433 smu->gfx_actual_soft_max_freq = sclk_max; in smu_v14_0_common_set_performance_level()
H A Dsmu_v14_0.c1198 uint32_t sclk_min = 0, sclk_max = 0; in smu_v14_0_set_performance_level() local
1208 sclk_min = sclk_max = gfx_table->max; in smu_v14_0_set_performance_level()
1216 sclk_min = sclk_max = gfx_table->min; in smu_v14_0_set_performance_level()
1225 sclk_max = gfx_table->max; in smu_v14_0_set_performance_level()
1238 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v14_0_set_performance_level()
1246 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v14_0_set_performance_level()
1252 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v14_0_set_performance_level()
1267 if (sclk_min && sclk_max) { in smu_v14_0_set_performance_level()
1271 sclk_max); in smu_v14_0_set_performance_level()
1276 pstate_table->gfxclk_pstate.curr.max = sclk_max; in smu_v14_0_set_performance_level()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c1853 uint32_t sclk_min = 0, sclk_max = 0; in smu_v11_0_set_performance_level() local
1860 sclk_min = sclk_max = gfx_table->max; in smu_v11_0_set_performance_level()
1865 sclk_min = sclk_max = gfx_table->min; in smu_v11_0_set_performance_level()
1871 sclk_max = gfx_table->max; in smu_v11_0_set_performance_level()
1878 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v11_0_set_performance_level()
1883 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v11_0_set_performance_level()
1889 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v11_0_set_performance_level()
1910 if (sclk_min && sclk_max) { in smu_v11_0_set_performance_level()
1914 sclk_max); in smu_v11_0_set_performance_level()