Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dyellow_carp_ppt.c1140 uint32_t sclk_min = 0, sclk_max = 0; in yellow_carp_set_performance_level() local
1147 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in yellow_carp_set_performance_level()
1150 sclk_min = sclk_max; in yellow_carp_set_performance_level()
1158 sclk_max = sclk_min; in yellow_carp_set_performance_level()
1163 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in yellow_carp_set_performance_level()
1181 if (sclk_min && sclk_max) { in yellow_carp_set_performance_level()
1185 sclk_max); in yellow_carp_set_performance_level()
1190 smu->gfx_actual_soft_max_freq = sclk_max; in yellow_carp_set_performance_level()
Dsmu_v13_0.c1633 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_set_performance_level() local
1640 sclk_min = sclk_max = gfx_table->max; in smu_v13_0_set_performance_level()
1645 sclk_min = sclk_max = gfx_table->min; in smu_v13_0_set_performance_level()
1651 sclk_max = gfx_table->max; in smu_v13_0_set_performance_level()
1658 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v13_0_set_performance_level()
1663 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v13_0_set_performance_level()
1669 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v13_0_set_performance_level()
1684 if (sclk_min && sclk_max) { in smu_v13_0_set_performance_level()
1688 sclk_max); in smu_v13_0_set_performance_level()
1693 pstate_table->gfxclk_pstate.curr.max = sclk_max; in smu_v13_0_set_performance_level()
/Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1882 uint32_t sclk_min = 0, sclk_max = 0; in smu_v11_0_set_performance_level() local
1889 sclk_min = sclk_max = gfx_table->max; in smu_v11_0_set_performance_level()
1894 sclk_min = sclk_max = gfx_table->min; in smu_v11_0_set_performance_level()
1900 sclk_max = gfx_table->max; in smu_v11_0_set_performance_level()
1907 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v11_0_set_performance_level()
1912 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v11_0_set_performance_level()
1918 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v11_0_set_performance_level()
1939 if (sclk_min && sclk_max) { in smu_v11_0_set_performance_level()
1943 sclk_max); in smu_v11_0_set_performance_level()