Home
last modified time | relevance | path

Searched refs:dpm_context (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.c295 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in aldebaran_allocate_dpm_context()
297 if (!smu_dpm->dpm_context) in aldebaran_allocate_dpm_context()
347 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in aldebaran_set_default_dpm_table() local
353 dpm_table = &dpm_context->dpm_tables.soc_table; in aldebaran_set_default_dpm_table()
369 dpm_table = &dpm_context->dpm_tables.gfx_table; in aldebaran_set_default_dpm_table()
388 dpm_table = &dpm_context->dpm_tables.uclk_table; in aldebaran_set_default_dpm_table()
404 dpm_table = &dpm_context->dpm_tables.fclk_table; in aldebaran_set_default_dpm_table()
539 struct smu_13_0_dpm_context *dpm_context = in aldebaran_populate_umd_state_clk() local
540 smu->smu_dpm.dpm_context; in aldebaran_populate_umd_state_clk()
542 &dpm_context->dpm_tables.gfx_table; in aldebaran_populate_umd_state_clk()
[all …]
Dsmu_v13_0_6_ppt.c447 smu_dpm->dpm_context = in smu_v13_0_6_allocate_dpm_context()
449 if (!smu_dpm->dpm_context) in smu_v13_0_6_allocate_dpm_context()
456 kfree(smu_dpm->dpm_context); in smu_v13_0_6_allocate_dpm_context()
754 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_6_set_default_dpm_table() local
763 &dpm_context->dpm_tables.soc_table, in smu_v13_0_6_set_default_dpm_table()
766 &dpm_context->dpm_tables.uclk_table, in smu_v13_0_6_set_default_dpm_table()
769 &dpm_context->dpm_tables.fclk_table, in smu_v13_0_6_set_default_dpm_table()
772 &dpm_context->dpm_tables.vclk_table, in smu_v13_0_6_set_default_dpm_table()
775 &dpm_context->dpm_tables.dclk_table, in smu_v13_0_6_set_default_dpm_table()
792 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_6_set_default_dpm_table()
[all …]
Dsmu_v13_0_7_ppt.c549 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_7_allocate_dpm_context()
551 if (!smu_dpm->dpm_context) in smu_v13_0_7_allocate_dpm_context()
576 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_7_set_default_dpm_table() local
585 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v13_0_7_set_default_dpm_table()
601 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_7_set_default_dpm_table()
625 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v13_0_7_set_default_dpm_table()
641 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v13_0_7_set_default_dpm_table()
657 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v13_0_7_set_default_dpm_table()
673 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v13_0_7_set_default_dpm_table()
689 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v13_0_7_set_default_dpm_table()
[all …]
Dsmu_v13_0_0_ppt.c541 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_0_allocate_dpm_context()
543 if (!smu_dpm->dpm_context) in smu_v13_0_0_allocate_dpm_context()
568 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_0_set_default_dpm_table() local
578 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v13_0_0_set_default_dpm_table()
594 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_0_set_default_dpm_table()
627 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v13_0_0_set_default_dpm_table()
643 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v13_0_0_set_default_dpm_table()
659 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v13_0_0_set_default_dpm_table()
675 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v13_0_0_set_default_dpm_table()
691 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v13_0_0_set_default_dpm_table()
[all …]
Dsmu_v13_0.c531 kfree(smu_dpm->dpm_context); in smu_v13_0_fini_smc_tables()
536 smu_dpm->dpm_context = NULL; in smu_v13_0_fini_smc_tables()
1687 struct smu_13_0_dpm_context *dpm_context = in smu_v13_0_set_performance_level() local
1688 smu->smu_dpm.dpm_context; in smu_v13_0_set_performance_level()
1690 &dpm_context->dpm_tables.gfx_table; in smu_v13_0_set_performance_level()
1692 &dpm_context->dpm_tables.uclk_table; in smu_v13_0_set_performance_level()
1694 &dpm_context->dpm_tables.soc_table; in smu_v13_0_set_performance_level()
1696 &dpm_context->dpm_tables.vclk_table; in smu_v13_0_set_performance_level()
1698 &dpm_context->dpm_tables.dclk_table; in smu_v13_0_set_performance_level()
1700 &dpm_context->dpm_tables.fclk_table; in smu_v13_0_set_performance_level()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0_2_ppt.c472 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_14_0_dpm_context), in smu_v14_0_2_allocate_dpm_context()
474 if (!smu_dpm->dpm_context) in smu_v14_0_2_allocate_dpm_context()
499 struct smu_14_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v14_0_2_set_default_dpm_table() local
509 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v14_0_2_set_default_dpm_table()
525 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v14_0_2_set_default_dpm_table()
558 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v14_0_2_set_default_dpm_table()
574 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v14_0_2_set_default_dpm_table()
590 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v14_0_2_set_default_dpm_table()
606 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v14_0_2_set_default_dpm_table()
622 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v14_0_2_set_default_dpm_table()
[all …]
Dsmu_v14_0.c515 kfree(smu_dpm->dpm_context); in smu_v14_0_fini_smc_tables()
519 smu_dpm->dpm_context = NULL; in smu_v14_0_fini_smc_tables()
1181 struct smu_14_0_dpm_context *dpm_context = in smu_v14_0_set_performance_level() local
1182 smu->smu_dpm.dpm_context; in smu_v14_0_set_performance_level()
1184 &dpm_context->dpm_tables.gfx_table; in smu_v14_0_set_performance_level()
1186 &dpm_context->dpm_tables.uclk_table; in smu_v14_0_set_performance_level()
1188 &dpm_context->dpm_tables.soc_table; in smu_v14_0_set_performance_level()
1190 &dpm_context->dpm_tables.vclk_table; in smu_v14_0_set_performance_level()
1192 &dpm_context->dpm_tables.dclk_table; in smu_v14_0_set_performance_level()
1194 &dpm_context->dpm_tables.fclk_table; in smu_v14_0_set_performance_level()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c941 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in navi10_allocate_dpm_context()
943 if (!smu_dpm->dpm_context) in navi10_allocate_dpm_context()
968 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in navi10_set_default_dpm_table() local
974 dpm_table = &dpm_context->dpm_tables.soc_table; in navi10_set_default_dpm_table()
992 dpm_table = &dpm_context->dpm_tables.gfx_table; in navi10_set_default_dpm_table()
1010 dpm_table = &dpm_context->dpm_tables.uclk_table; in navi10_set_default_dpm_table()
1028 dpm_table = &dpm_context->dpm_tables.vclk_table; in navi10_set_default_dpm_table()
1046 dpm_table = &dpm_context->dpm_tables.dclk_table; in navi10_set_default_dpm_table()
1064 dpm_table = &dpm_context->dpm_tables.dcef_table; in navi10_set_default_dpm_table()
1082 dpm_table = &dpm_context->dpm_tables.pixel_table; in navi10_set_default_dpm_table()
[all …]
Darcturus_ppt.c310 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in arcturus_allocate_dpm_context()
312 if (!smu_dpm->dpm_context) in arcturus_allocate_dpm_context()
363 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in arcturus_set_default_dpm_table() local
369 dpm_table = &dpm_context->dpm_tables.soc_table; in arcturus_set_default_dpm_table()
387 dpm_table = &dpm_context->dpm_tables.gfx_table; in arcturus_set_default_dpm_table()
405 dpm_table = &dpm_context->dpm_tables.uclk_table; in arcturus_set_default_dpm_table()
423 dpm_table = &dpm_context->dpm_tables.fclk_table; in arcturus_set_default_dpm_table()
573 struct smu_11_0_dpm_context *dpm_context = in arcturus_populate_umd_state_clk() local
574 smu->smu_dpm.dpm_context; in arcturus_populate_umd_state_clk()
576 &dpm_context->dpm_tables.gfx_table; in arcturus_populate_umd_state_clk()
[all …]
Dsienna_cichlid_ppt.c923 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in sienna_cichlid_allocate_dpm_context()
925 if (!smu_dpm->dpm_context) in sienna_cichlid_allocate_dpm_context()
956 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in sienna_cichlid_set_default_dpm_table() local
963 dpm_table = &dpm_context->dpm_tables.soc_table; in sienna_cichlid_set_default_dpm_table()
982 dpm_table = &dpm_context->dpm_tables.gfx_table; in sienna_cichlid_set_default_dpm_table()
1000 dpm_table = &dpm_context->dpm_tables.uclk_table; in sienna_cichlid_set_default_dpm_table()
1018 dpm_table = &dpm_context->dpm_tables.fclk_table; in sienna_cichlid_set_default_dpm_table()
1040 dpm_table = &dpm_context->dpm_tables.vclk_table; in sienna_cichlid_set_default_dpm_table()
1062 dpm_table = &dpm_context->dpm_tables.dclk_table; in sienna_cichlid_set_default_dpm_table()
1081 dpm_table = &dpm_context->dpm_tables.dcef_table; in sienna_cichlid_set_default_dpm_table()
[all …]
Dsmu_v11_0.c456 kfree(smu_dpm->dpm_context); in smu_v11_0_fini_smc_tables()
460 smu_dpm->dpm_context = NULL; in smu_v11_0_fini_smc_tables()
1842 struct smu_11_0_dpm_context *dpm_context = in smu_v11_0_set_performance_level() local
1843 smu->smu_dpm.dpm_context; in smu_v11_0_set_performance_level()
1845 &dpm_context->dpm_tables.gfx_table; in smu_v11_0_set_performance_level()
1847 &dpm_context->dpm_tables.uclk_table; in smu_v11_0_set_performance_level()
1849 &dpm_context->dpm_tables.soc_table; in smu_v11_0_set_performance_level()
Dvangogh_ppt.c432 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in vangogh_allocate_dpm_context()
434 if (!smu_dpm->dpm_context) in vangogh_allocate_dpm_context()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h388 void *dpm_context; member
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c2200 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_enable_umd_pstate()
2377 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_get_performance_level()
2393 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_force_performance_level()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c623 if (!smu_dpm_ctx->dpm_context || in renoir_get_current_power_state()