Home
last modified time | relevance | path

Searched refs:pstate_table (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.c547 struct smu_umd_pstate_table *pstate_table = in aldebaran_populate_umd_state_clk() local
548 &smu->pstate_table; in aldebaran_populate_umd_state_clk()
550 pstate_table->gfxclk_pstate.min = gfx_table->min; in aldebaran_populate_umd_state_clk()
551 pstate_table->gfxclk_pstate.peak = gfx_table->max; in aldebaran_populate_umd_state_clk()
552 pstate_table->gfxclk_pstate.curr.min = gfx_table->min; in aldebaran_populate_umd_state_clk()
553 pstate_table->gfxclk_pstate.curr.max = gfx_table->max; in aldebaran_populate_umd_state_clk()
555 pstate_table->uclk_pstate.min = mem_table->min; in aldebaran_populate_umd_state_clk()
556 pstate_table->uclk_pstate.peak = mem_table->max; in aldebaran_populate_umd_state_clk()
557 pstate_table->uclk_pstate.curr.min = mem_table->min; in aldebaran_populate_umd_state_clk()
558 pstate_table->uclk_pstate.curr.max = mem_table->max; in aldebaran_populate_umd_state_clk()
[all …]
Dsmu_v13_0_6_ppt.c878 struct smu_umd_pstate_table *pstate_table = &smu->pstate_table; in smu_v13_0_6_populate_umd_state_clk() local
880 pstate_table->gfxclk_pstate.min = gfx_table->min; in smu_v13_0_6_populate_umd_state_clk()
881 pstate_table->gfxclk_pstate.peak = gfx_table->max; in smu_v13_0_6_populate_umd_state_clk()
882 pstate_table->gfxclk_pstate.curr.min = gfx_table->min; in smu_v13_0_6_populate_umd_state_clk()
883 pstate_table->gfxclk_pstate.curr.max = gfx_table->max; in smu_v13_0_6_populate_umd_state_clk()
885 pstate_table->uclk_pstate.min = mem_table->min; in smu_v13_0_6_populate_umd_state_clk()
886 pstate_table->uclk_pstate.peak = mem_table->max; in smu_v13_0_6_populate_umd_state_clk()
887 pstate_table->uclk_pstate.curr.min = mem_table->min; in smu_v13_0_6_populate_umd_state_clk()
888 pstate_table->uclk_pstate.curr.max = mem_table->max; in smu_v13_0_6_populate_umd_state_clk()
890 pstate_table->socclk_pstate.min = soc_table->min; in smu_v13_0_6_populate_umd_state_clk()
[all …]
Dsmu_v13_0.c1701 struct smu_umd_pstate_table *pstate_table = in smu_v13_0_set_performance_level() local
1702 &smu->pstate_table; in smu_v13_0_set_performance_level()
1744 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v13_0_set_performance_level()
1745 mclk_min = mclk_max = pstate_table->uclk_pstate.standard; in smu_v13_0_set_performance_level()
1746 socclk_min = socclk_max = pstate_table->socclk_pstate.standard; in smu_v13_0_set_performance_level()
1747 vclk_min = vclk_max = pstate_table->vclk_pstate.standard; in smu_v13_0_set_performance_level()
1748 dclk_min = dclk_max = pstate_table->dclk_pstate.standard; in smu_v13_0_set_performance_level()
1749 fclk_min = fclk_max = pstate_table->fclk_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()
1755 mclk_min = mclk_max = pstate_table->uclk_pstate.min; in smu_v13_0_set_performance_level()
[all …]
Dsmu_v13_0_7_ppt.c2217 struct smu_umd_pstate_table *pstate_table = in smu_v13_0_7_populate_umd_state_clk() local
2218 &smu->pstate_table; in smu_v13_0_7_populate_umd_state_clk()
2224 pstate_table->gfxclk_pstate.min = gfx_table->min; in smu_v13_0_7_populate_umd_state_clk()
2227 pstate_table->gfxclk_pstate.peak = driver_clocks.GameClockAc; in smu_v13_0_7_populate_umd_state_clk()
2229 pstate_table->gfxclk_pstate.peak = gfx_table->max; in smu_v13_0_7_populate_umd_state_clk()
2231 pstate_table->uclk_pstate.min = mem_table->min; in smu_v13_0_7_populate_umd_state_clk()
2232 pstate_table->uclk_pstate.peak = mem_table->max; in smu_v13_0_7_populate_umd_state_clk()
2234 pstate_table->socclk_pstate.min = soc_table->min; in smu_v13_0_7_populate_umd_state_clk()
2235 pstate_table->socclk_pstate.peak = soc_table->max; in smu_v13_0_7_populate_umd_state_clk()
2237 pstate_table->vclk_pstate.min = vclk_table->min; in smu_v13_0_7_populate_umd_state_clk()
[all …]
Dsmu_v13_0_0_ppt.c2233 struct smu_umd_pstate_table *pstate_table = in smu_v13_0_0_populate_umd_state_clk() local
2234 &smu->pstate_table; in smu_v13_0_0_populate_umd_state_clk()
2240 pstate_table->gfxclk_pstate.min = gfx_table->min; in smu_v13_0_0_populate_umd_state_clk()
2243 pstate_table->gfxclk_pstate.peak = driver_clocks.GameClockAc; in smu_v13_0_0_populate_umd_state_clk()
2245 pstate_table->gfxclk_pstate.peak = gfx_table->max; in smu_v13_0_0_populate_umd_state_clk()
2247 pstate_table->uclk_pstate.min = mem_table->min; in smu_v13_0_0_populate_umd_state_clk()
2248 pstate_table->uclk_pstate.peak = mem_table->max; in smu_v13_0_0_populate_umd_state_clk()
2250 pstate_table->socclk_pstate.min = soc_table->min; in smu_v13_0_0_populate_umd_state_clk()
2251 pstate_table->socclk_pstate.peak = soc_table->max; in smu_v13_0_0_populate_umd_state_clk()
2253 pstate_table->vclk_pstate.min = vclk_table->min; in smu_v13_0_0_populate_umd_state_clk()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0.c1195 struct smu_umd_pstate_table *pstate_table = in smu_v14_0_set_performance_level() local
1196 &smu->pstate_table; in smu_v14_0_set_performance_level()
1238 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v14_0_set_performance_level()
1239 mclk_min = mclk_max = pstate_table->uclk_pstate.standard; in smu_v14_0_set_performance_level()
1240 socclk_min = socclk_max = pstate_table->socclk_pstate.standard; in smu_v14_0_set_performance_level()
1241 vclk_min = vclk_max = pstate_table->vclk_pstate.standard; in smu_v14_0_set_performance_level()
1242 dclk_min = dclk_max = pstate_table->dclk_pstate.standard; in smu_v14_0_set_performance_level()
1243 fclk_min = fclk_max = pstate_table->fclk_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()
1249 mclk_min = mclk_max = pstate_table->uclk_pstate.min; in smu_v14_0_set_performance_level()
[all …]
Dsmu_v14_0_2_ppt.c1557 struct smu_umd_pstate_table *pstate_table = in smu_v14_0_2_populate_umd_state_clk() local
1558 &smu->pstate_table; in smu_v14_0_2_populate_umd_state_clk()
1564 pstate_table->gfxclk_pstate.min = gfx_table->min; in smu_v14_0_2_populate_umd_state_clk()
1567 pstate_table->gfxclk_pstate.peak = driver_clocks.GameClockAc; in smu_v14_0_2_populate_umd_state_clk()
1569 pstate_table->gfxclk_pstate.peak = gfx_table->max; in smu_v14_0_2_populate_umd_state_clk()
1571 pstate_table->uclk_pstate.min = mem_table->min; in smu_v14_0_2_populate_umd_state_clk()
1572 pstate_table->uclk_pstate.peak = mem_table->max; in smu_v14_0_2_populate_umd_state_clk()
1574 pstate_table->socclk_pstate.min = soc_table->min; in smu_v14_0_2_populate_umd_state_clk()
1575 pstate_table->socclk_pstate.peak = soc_table->max; in smu_v14_0_2_populate_umd_state_clk()
1577 pstate_table->vclk_pstate.min = vclk_table->min; in smu_v14_0_2_populate_umd_state_clk()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.c581 struct smu_umd_pstate_table *pstate_table = in arcturus_populate_umd_state_clk() local
582 &smu->pstate_table; in arcturus_populate_umd_state_clk()
584 pstate_table->gfxclk_pstate.min = gfx_table->min; in arcturus_populate_umd_state_clk()
585 pstate_table->gfxclk_pstate.peak = gfx_table->max; in arcturus_populate_umd_state_clk()
587 pstate_table->uclk_pstate.min = mem_table->min; in arcturus_populate_umd_state_clk()
588 pstate_table->uclk_pstate.peak = mem_table->max; in arcturus_populate_umd_state_clk()
590 pstate_table->socclk_pstate.min = soc_table->min; in arcturus_populate_umd_state_clk()
591 pstate_table->socclk_pstate.peak = soc_table->max; in arcturus_populate_umd_state_clk()
596 pstate_table->gfxclk_pstate.standard = in arcturus_populate_umd_state_clk()
598 pstate_table->uclk_pstate.standard = in arcturus_populate_umd_state_clk()
[all …]
Dsmu_v11_0.c1850 struct smu_umd_pstate_table *pstate_table = in smu_v11_0_set_performance_level() local
1851 &smu->pstate_table; in smu_v11_0_set_performance_level()
1878 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v11_0_set_performance_level()
1879 mclk_min = mclk_max = pstate_table->uclk_pstate.standard; in smu_v11_0_set_performance_level()
1880 socclk_min = socclk_max = pstate_table->socclk_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()
1886 mclk_min = mclk_max = pstate_table->uclk_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()
1890 mclk_min = mclk_max = pstate_table->uclk_pstate.peak; in smu_v11_0_set_performance_level()
1891 socclk_min = socclk_max = pstate_table->socclk_pstate.peak; in smu_v11_0_set_performance_level()
Dnavi10_ppt.c1717 struct smu_umd_pstate_table *pstate_table = in navi10_populate_umd_state_clk() local
1718 &smu->pstate_table; in navi10_populate_umd_state_clk()
1722 pstate_table->gfxclk_pstate.min = gfx_table->min; in navi10_populate_umd_state_clk()
1769 pstate_table->gfxclk_pstate.peak = sclk_freq; in navi10_populate_umd_state_clk()
1771 pstate_table->uclk_pstate.min = mem_table->min; in navi10_populate_umd_state_clk()
1772 pstate_table->uclk_pstate.peak = mem_table->max; in navi10_populate_umd_state_clk()
1774 pstate_table->socclk_pstate.min = soc_table->min; in navi10_populate_umd_state_clk()
1775 pstate_table->socclk_pstate.peak = soc_table->max; in navi10_populate_umd_state_clk()
1780 pstate_table->gfxclk_pstate.standard = in navi10_populate_umd_state_clk()
1782 pstate_table->uclk_pstate.standard = in navi10_populate_umd_state_clk()
[all …]
Dsienna_cichlid_ppt.c1497 struct smu_umd_pstate_table *pstate_table = in sienna_cichlid_populate_umd_state_clk() local
1498 &smu->pstate_table; in sienna_cichlid_populate_umd_state_clk()
1501 pstate_table->gfxclk_pstate.min = gfx_table->min; in sienna_cichlid_populate_umd_state_clk()
1502 pstate_table->gfxclk_pstate.peak = gfx_table->max; in sienna_cichlid_populate_umd_state_clk()
1504 pstate_table->uclk_pstate.min = mem_table->min; in sienna_cichlid_populate_umd_state_clk()
1505 pstate_table->uclk_pstate.peak = mem_table->max; in sienna_cichlid_populate_umd_state_clk()
1507 pstate_table->socclk_pstate.min = soc_table->min; in sienna_cichlid_populate_umd_state_clk()
1508 pstate_table->socclk_pstate.peak = soc_table->max; in sienna_cichlid_populate_umd_state_clk()
1513 pstate_table->gfxclk_pstate.standard = SIENNA_CICHLID_UMD_PSTATE_PROFILING_GFXCLK; in sienna_cichlid_populate_umd_state_clk()
1514 pstate_table->uclk_pstate.standard = SIENNA_CICHLID_UMD_PSTATE_PROFILING_MEMCLK; in sienna_cichlid_populate_umd_state_clk()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c2944 struct smu_umd_pstate_table *pstate_table = in smu_read_sensor() local
2945 &smu->pstate_table; in smu_read_sensor()
2964 *((uint32_t *)data) = pstate_table->gfxclk_pstate.standard * 100; in smu_read_sensor()
2968 *((uint32_t *)data) = pstate_table->uclk_pstate.standard * 100; in smu_read_sensor()
2972 *((uint32_t *)data) = pstate_table->gfxclk_pstate.peak * 100; in smu_read_sensor()
2976 *((uint32_t *)data) = pstate_table->uclk_pstate.peak * 100; in smu_read_sensor()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h535 struct smu_umd_pstate_table pstate_table; member