| /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 | 2278 struct smu_umd_pstate_table *pstate_table = in smu_v13_0_7_populate_umd_state_clk() local 2279 &smu->pstate_table; in smu_v13_0_7_populate_umd_state_clk() 2285 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in smu_v13_0_7_populate_umd_state_clk() 2288 pstate_table->gfxclk_pstate.peak = driver_clocks.GameClockAc; in smu_v13_0_7_populate_umd_state_clk() 2290 pstate_table->gfxclk_pstate.peak = SMU_DPM_TABLE_MAX(gfx_table); in smu_v13_0_7_populate_umd_state_clk() 2292 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in smu_v13_0_7_populate_umd_state_clk() 2293 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in smu_v13_0_7_populate_umd_state_clk() 2295 pstate_table->socclk_pstate.min = SMU_DPM_TABLE_MIN(soc_table); in smu_v13_0_7_populate_umd_state_clk() 2296 pstate_table->socclk_pstate.peak = SMU_DPM_TABLE_MAX(soc_table); in smu_v13_0_7_populate_umd_state_clk() 2298 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 | 2276 struct smu_umd_pstate_table *pstate_table = in smu_v13_0_0_populate_umd_state_clk() local 2277 &smu->pstate_table; in smu_v13_0_0_populate_umd_state_clk() 2283 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in smu_v13_0_0_populate_umd_state_clk() 2286 pstate_table->gfxclk_pstate.peak = driver_clocks.GameClockAc; in smu_v13_0_0_populate_umd_state_clk() 2288 pstate_table->gfxclk_pstate.peak = SMU_DPM_TABLE_MAX(gfx_table); in smu_v13_0_0_populate_umd_state_clk() 2290 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in smu_v13_0_0_populate_umd_state_clk() 2291 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in smu_v13_0_0_populate_umd_state_clk() 2293 pstate_table->socclk_pstate.min = SMU_DPM_TABLE_MIN(soc_table); in smu_v13_0_0_populate_umd_state_clk() 2294 pstate_table->socclk_pstate.peak = SMU_DPM_TABLE_MAX(soc_table); in smu_v13_0_0_populate_umd_state_clk() 2296 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 | 1254 struct smu_umd_pstate_table *pstate_table = in smu_v14_0_set_performance_level() local 1255 &smu->pstate_table; in smu_v14_0_set_performance_level() 1299 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v14_0_set_performance_level() 1300 mclk_min = mclk_max = pstate_table->uclk_pstate.standard; in smu_v14_0_set_performance_level() 1301 socclk_min = socclk_max = pstate_table->socclk_pstate.standard; in smu_v14_0_set_performance_level() 1302 vclk_min = vclk_max = pstate_table->vclk_pstate.standard; in smu_v14_0_set_performance_level() 1303 dclk_min = dclk_max = pstate_table->dclk_pstate.standard; in smu_v14_0_set_performance_level() 1304 fclk_min = fclk_max = pstate_table->fclk_pstate.standard; in smu_v14_0_set_performance_level() 1307 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v14_0_set_performance_level() 1310 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 | 1514 struct smu_umd_pstate_table *pstate_table = in smu_v14_0_2_populate_umd_state_clk() local 1515 &smu->pstate_table; in smu_v14_0_2_populate_umd_state_clk() 1521 pstate_table->gfxclk_pstate.min = SMU_DPM_TABLE_MIN(gfx_table); in smu_v14_0_2_populate_umd_state_clk() 1524 pstate_table->gfxclk_pstate.peak = driver_clocks.GameClockAc; in smu_v14_0_2_populate_umd_state_clk() 1526 pstate_table->gfxclk_pstate.peak = SMU_DPM_TABLE_MAX(gfx_table); in smu_v14_0_2_populate_umd_state_clk() 1528 pstate_table->uclk_pstate.min = SMU_DPM_TABLE_MIN(mem_table); in smu_v14_0_2_populate_umd_state_clk() 1529 pstate_table->uclk_pstate.peak = SMU_DPM_TABLE_MAX(mem_table); in smu_v14_0_2_populate_umd_state_clk() 1531 pstate_table->socclk_pstate.min = SMU_DPM_TABLE_MIN(soc_table); in smu_v14_0_2_populate_umd_state_clk() 1532 pstate_table->socclk_pstate.peak = SMU_DPM_TABLE_MAX(soc_table); in smu_v14_0_2_populate_umd_state_clk() 1534 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 | 1864 struct smu_umd_pstate_table *pstate_table = in smu_v11_0_set_performance_level() local 1865 &smu->pstate_table; in smu_v11_0_set_performance_level() 1894 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v11_0_set_performance_level() 1895 mclk_min = mclk_max = pstate_table->uclk_pstate.standard; in smu_v11_0_set_performance_level() 1896 socclk_min = socclk_max = pstate_table->socclk_pstate.standard; in smu_v11_0_set_performance_level() 1899 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v11_0_set_performance_level() 1902 mclk_min = mclk_max = pstate_table->uclk_pstate.min; in smu_v11_0_set_performance_level() 1905 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v11_0_set_performance_level() 1906 mclk_min = mclk_max = pstate_table->uclk_pstate.peak; in smu_v11_0_set_performance_level() 1907 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
|