| /linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| H A D | aldebaran_ppt.c | 589 struct smu_umd_pstate_table *pstate_table = in aldebaran_populate_umd_state_clk() local 590 &smu->pstate_table; in aldebaran_populate_umd_state_clk() 592 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in aldebaran_populate_umd_state_clk() 593 pstate_table->gfxclk_pstate.peak = SMU_DPM_TABLE_MAX(gfx_table); in aldebaran_populate_umd_state_clk() 594 pstate_table->gfxclk_pstate.curr.min = SMU_DPM_TABLE_MIN(gfx_table); in aldebaran_populate_umd_state_clk() 595 pstate_table->gfxclk_pstate.curr.max = SMU_DPM_TABLE_MAX(gfx_table); in aldebaran_populate_umd_state_clk() 597 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in aldebaran_populate_umd_state_clk() 598 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in aldebaran_populate_umd_state_clk() 599 pstate_table->uclk_pstate.curr.min = SMU_DPM_TABLE_MIN(mem_table); in aldebaran_populate_umd_state_clk() 600 pstate_table->uclk_pstate.curr.max = SMU_DPM_TABLE_MAX(mem_table); in aldebaran_populate_umd_state_clk() [all …]
|
| H A D | smu_v13_0_6_ppt.c | 1199 struct smu_umd_pstate_table *pstate_table = &smu->pstate_table; in smu_v13_0_6_populate_umd_state_clk() local 1201 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in smu_v13_0_6_populate_umd_state_clk() 1202 pstate_table->gfxclk_pstate.peak = SMU_DPM_TABLE_MAX(gfx_table); in smu_v13_0_6_populate_umd_state_clk() 1203 pstate_table->gfxclk_pstate.curr.min = SMU_DPM_TABLE_MIN(gfx_table); in smu_v13_0_6_populate_umd_state_clk() 1204 pstate_table->gfxclk_pstate.curr.max = SMU_DPM_TABLE_MAX(gfx_table); in smu_v13_0_6_populate_umd_state_clk() 1206 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in smu_v13_0_6_populate_umd_state_clk() 1207 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in smu_v13_0_6_populate_umd_state_clk() 1208 pstate_table->uclk_pstate.curr.min = SMU_DPM_TABLE_MIN(mem_table); in smu_v13_0_6_populate_umd_state_clk() 1209 pstate_table->uclk_pstate.curr.max = SMU_DPM_TABLE_MAX(mem_table); in smu_v13_0_6_populate_umd_state_clk() 1211 pstate_table->socclk_pstate.min = SMU_DPM_TABLE_MIN(soc_table); in smu_v13_0_6_populate_umd_state_clk() [all …]
|
| H A D | smu_v13_0.c | 1593 struct smu_umd_pstate_table *pstate_table = in smu_v13_0_set_performance_level() local 1594 &smu->pstate_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() 1639 mclk_min = mclk_max = pstate_table->uclk_pstate.standard; in smu_v13_0_set_performance_level() 1640 socclk_min = socclk_max = pstate_table->socclk_pstate.standard; in smu_v13_0_set_performance_level() 1641 vclk_min = vclk_max = pstate_table->vclk_pstate.standard; in smu_v13_0_set_performance_level() 1642 dclk_min = dclk_max = pstate_table->dclk_pstate.standard; in smu_v13_0_set_performance_level() 1643 fclk_min = fclk_max = pstate_table->fclk_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() 1649 mclk_min = mclk_max = pstate_table->uclk_pstate.min; in smu_v13_0_set_performance_level() [all …]
|
| H A D | smu_v13_0_7_ppt.c | 2247 struct smu_umd_pstate_table *pstate_table = in smu_v13_0_7_populate_umd_state_clk() local 2248 &smu->pstate_table; in smu_v13_0_7_populate_umd_state_clk() 2254 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in smu_v13_0_7_populate_umd_state_clk() 2257 pstate_table->gfxclk_pstate.peak = driver_clocks.GameClockAc; in smu_v13_0_7_populate_umd_state_clk() 2259 pstate_table->gfxclk_pstate.peak = SMU_DPM_TABLE_MAX(gfx_table); in smu_v13_0_7_populate_umd_state_clk() 2261 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in smu_v13_0_7_populate_umd_state_clk() 2262 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in smu_v13_0_7_populate_umd_state_clk() 2264 pstate_table->socclk_pstate.min = SMU_DPM_TABLE_MIN(soc_table); in smu_v13_0_7_populate_umd_state_clk() 2265 pstate_table->socclk_pstate.peak = SMU_DPM_TABLE_MAX(soc_table); in smu_v13_0_7_populate_umd_state_clk() 2267 pstate_table->vclk_pstate.min = SMU_DPM_TABLE_MIN(vclk_table); in smu_v13_0_7_populate_umd_state_clk() [all …]
|
| H A D | smu_v13_0_0_ppt.c | 2245 struct smu_umd_pstate_table *pstate_table = in smu_v13_0_0_populate_umd_state_clk() local 2246 &smu->pstate_table; in smu_v13_0_0_populate_umd_state_clk() 2252 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in smu_v13_0_0_populate_umd_state_clk() 2255 pstate_table->gfxclk_pstate.peak = driver_clocks.GameClockAc; in smu_v13_0_0_populate_umd_state_clk() 2257 pstate_table->gfxclk_pstate.peak = SMU_DPM_TABLE_MAX(gfx_table); in smu_v13_0_0_populate_umd_state_clk() 2259 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in smu_v13_0_0_populate_umd_state_clk() 2260 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in smu_v13_0_0_populate_umd_state_clk() 2262 pstate_table->socclk_pstate.min = SMU_DPM_TABLE_MIN(soc_table); in smu_v13_0_0_populate_umd_state_clk() 2263 pstate_table->socclk_pstate.peak = SMU_DPM_TABLE_MAX(soc_table); in smu_v13_0_0_populate_umd_state_clk() 2265 pstate_table->vclk_pstate.min = SMU_DPM_TABLE_MIN(vclk_table); in smu_v13_0_0_populate_umd_state_clk() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu15/ |
| H A D | smu_v15_0.c | 1144 struct smu_umd_pstate_table *pstate_table = in smu_v15_0_set_performance_level() local 1145 &smu->pstate_table; in smu_v15_0_set_performance_level() 1189 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v15_0_set_performance_level() 1190 mclk_min = mclk_max = pstate_table->uclk_pstate.standard; in smu_v15_0_set_performance_level() 1191 socclk_min = socclk_max = pstate_table->socclk_pstate.standard; in smu_v15_0_set_performance_level() 1192 vclk_min = vclk_max = pstate_table->vclk_pstate.standard; in smu_v15_0_set_performance_level() 1193 dclk_min = dclk_max = pstate_table->dclk_pstate.standard; in smu_v15_0_set_performance_level() 1194 fclk_min = fclk_max = pstate_table->fclk_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() 1200 mclk_min = mclk_max = pstate_table->uclk_pstate.min; in smu_v15_0_set_performance_level() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
| H A D | smu_v14_0.c | 1255 struct smu_umd_pstate_table *pstate_table = in smu_v14_0_set_performance_level() local 1256 &smu->pstate_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() 1301 mclk_min = mclk_max = pstate_table->uclk_pstate.standard; in smu_v14_0_set_performance_level() 1302 socclk_min = socclk_max = pstate_table->socclk_pstate.standard; in smu_v14_0_set_performance_level() 1303 vclk_min = vclk_max = pstate_table->vclk_pstate.standard; in smu_v14_0_set_performance_level() 1304 dclk_min = dclk_max = pstate_table->dclk_pstate.standard; in smu_v14_0_set_performance_level() 1305 fclk_min = fclk_max = pstate_table->fclk_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() 1311 mclk_min = mclk_max = pstate_table->uclk_pstate.min; in smu_v14_0_set_performance_level() [all …]
|
| H A D | smu_v14_0_2_ppt.c | 1483 struct smu_umd_pstate_table *pstate_table = in smu_v14_0_2_populate_umd_state_clk() local 1484 &smu->pstate_table; in smu_v14_0_2_populate_umd_state_clk() 1490 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in smu_v14_0_2_populate_umd_state_clk() 1493 pstate_table->gfxclk_pstate.peak = driver_clocks.GameClockAc; in smu_v14_0_2_populate_umd_state_clk() 1495 pstate_table->gfxclk_pstate.peak = SMU_DPM_TABLE_MAX(gfx_table); in smu_v14_0_2_populate_umd_state_clk() 1497 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in smu_v14_0_2_populate_umd_state_clk() 1498 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in smu_v14_0_2_populate_umd_state_clk() 1500 pstate_table->socclk_pstate.min = SMU_DPM_TABLE_MIN(soc_table); in smu_v14_0_2_populate_umd_state_clk() 1501 pstate_table->socclk_pstate.peak = SMU_DPM_TABLE_MAX(soc_table); in smu_v14_0_2_populate_umd_state_clk() 1503 pstate_table->vclk_pstate.min = SMU_DPM_TABLE_MIN(vclk_table); in smu_v14_0_2_populate_umd_state_clk() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| H A D | arcturus_ppt.c | 568 struct smu_umd_pstate_table *pstate_table = in arcturus_populate_umd_state_clk() local 569 &smu->pstate_table; in arcturus_populate_umd_state_clk() 571 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in arcturus_populate_umd_state_clk() 572 pstate_table->gfxclk_pstate.peak = SMU_DPM_TABLE_MAX(gfx_table); in arcturus_populate_umd_state_clk() 574 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in arcturus_populate_umd_state_clk() 575 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in arcturus_populate_umd_state_clk() 577 pstate_table->socclk_pstate.min = SMU_DPM_TABLE_MIN(soc_table); in arcturus_populate_umd_state_clk() 578 pstate_table->socclk_pstate.peak = SMU_DPM_TABLE_MAX(soc_table); in arcturus_populate_umd_state_clk() 583 pstate_table->gfxclk_pstate.standard = in arcturus_populate_umd_state_clk() 585 pstate_table->uclk_pstate.standard = in arcturus_populate_umd_state_clk() [all …]
|
| H A D | navi10_ppt.c | 1464 struct smu_umd_pstate_table *pstate_table = in navi10_populate_umd_state_clk() local 1465 &smu->pstate_table; in navi10_populate_umd_state_clk() 1469 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in navi10_populate_umd_state_clk() 1516 pstate_table->gfxclk_pstate.peak = sclk_freq; in navi10_populate_umd_state_clk() 1518 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in navi10_populate_umd_state_clk() 1519 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in navi10_populate_umd_state_clk() 1521 pstate_table->socclk_pstate.min = SMU_DPM_TABLE_MIN(soc_table); in navi10_populate_umd_state_clk() 1522 pstate_table->socclk_pstate.peak = SMU_DPM_TABLE_MAX(soc_table); in navi10_populate_umd_state_clk() 1527 pstate_table->gfxclk_pstate.standard = in navi10_populate_umd_state_clk() 1529 pstate_table->uclk_pstate.standard = in navi10_populate_umd_state_clk() [all …]
|
| H A D | sienna_cichlid_ppt.c | 1454 struct smu_umd_pstate_table *pstate_table = in sienna_cichlid_populate_umd_state_clk() local 1455 &smu->pstate_table; in sienna_cichlid_populate_umd_state_clk() 1458 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in sienna_cichlid_populate_umd_state_clk() 1459 pstate_table->gfxclk_pstate.peak = SMU_DPM_TABLE_MAX(gfx_table); in sienna_cichlid_populate_umd_state_clk() 1461 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in sienna_cichlid_populate_umd_state_clk() 1462 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in sienna_cichlid_populate_umd_state_clk() 1464 pstate_table->socclk_pstate.min = SMU_DPM_TABLE_MIN(soc_table); in sienna_cichlid_populate_umd_state_clk() 1465 pstate_table->socclk_pstate.peak = SMU_DPM_TABLE_MAX(soc_table); in sienna_cichlid_populate_umd_state_clk() 1470 pstate_table->gfxclk_pstate.standard = SIENNA_CICHLID_UMD_PSTATE_PROFILING_GFXCLK; in sienna_cichlid_populate_umd_state_clk() 1471 pstate_table->uclk_pstate.standard = SIENNA_CICHLID_UMD_PSTATE_PROFILING_MEMCLK; in sienna_cichlid_populate_umd_state_clk() [all …]
|
| H A D | smu_v11_0.c | 1865 struct smu_umd_pstate_table *pstate_table = in smu_v11_0_set_performance_level() local 1866 &smu->pstate_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() 1896 mclk_min = mclk_max = pstate_table->uclk_pstate.standard; in smu_v11_0_set_performance_level() 1897 socclk_min = socclk_max = pstate_table->socclk_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() 1903 mclk_min = mclk_max = pstate_table->uclk_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() 1907 mclk_min = mclk_max = pstate_table->uclk_pstate.peak; in smu_v11_0_set_performance_level() 1908 socclk_min = socclk_max = pstate_table->socclk_pstate.peak; in smu_v11_0_set_performance_level()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/ |
| H A D | amdgpu_smu.c | 3119 struct smu_umd_pstate_table *pstate_table = in smu_read_sensor() local 3120 &smu->pstate_table; in smu_read_sensor() 3139 *((uint32_t *)data) = pstate_table->gfxclk_pstate.standard * 100; in smu_read_sensor() 3143 *((uint32_t *)data) = pstate_table->uclk_pstate.standard * 100; in smu_read_sensor() 3147 *((uint32_t *)data) = pstate_table->gfxclk_pstate.peak * 100; in smu_read_sensor() 3151 *((uint32_t *)data) = pstate_table->uclk_pstate.peak * 100; in smu_read_sensor()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/inc/ |
| H A D | amdgpu_smu.h | 715 struct smu_umd_pstate_table pstate_table; member
|