Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_7_ppt.c493 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_7_allocate_dpm_context()
495 if (!smu_dpm->dpm_context) in smu_v13_0_7_allocate_dpm_context()
520 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_7_set_default_dpm_table() local
529 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v13_0_7_set_default_dpm_table()
545 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_7_set_default_dpm_table()
561 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v13_0_7_set_default_dpm_table()
577 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v13_0_7_set_default_dpm_table()
593 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v13_0_7_set_default_dpm_table()
609 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v13_0_7_set_default_dpm_table()
625 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v13_0_7_set_default_dpm_table()
[all …]
Daldebaran_ppt.c265 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in aldebaran_allocate_dpm_context()
267 if (!smu_dpm->dpm_context) in aldebaran_allocate_dpm_context()
303 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in aldebaran_set_default_dpm_table() local
309 dpm_table = &dpm_context->dpm_tables.soc_table; in aldebaran_set_default_dpm_table()
325 dpm_table = &dpm_context->dpm_tables.gfx_table; in aldebaran_set_default_dpm_table()
344 dpm_table = &dpm_context->dpm_tables.uclk_table; in aldebaran_set_default_dpm_table()
360 dpm_table = &dpm_context->dpm_tables.fclk_table; in aldebaran_set_default_dpm_table()
501 struct smu_13_0_dpm_context *dpm_context = in aldebaran_populate_umd_state_clk() local
502 smu->smu_dpm.dpm_context; in aldebaran_populate_umd_state_clk()
504 &dpm_context->dpm_tables.gfx_table; in aldebaran_populate_umd_state_clk()
[all …]
Dsmu_v13_0_0_ppt.c469 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_0_allocate_dpm_context()
471 if (!smu_dpm->dpm_context) in smu_v13_0_0_allocate_dpm_context()
496 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_0_set_default_dpm_table() local
506 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v13_0_0_set_default_dpm_table()
522 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_0_set_default_dpm_table()
538 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v13_0_0_set_default_dpm_table()
554 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v13_0_0_set_default_dpm_table()
570 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v13_0_0_set_default_dpm_table()
586 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v13_0_0_set_default_dpm_table()
602 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v13_0_0_set_default_dpm_table()
[all …]
Dsmu_v13_0.c582 kfree(smu_dpm->dpm_context); in smu_v13_0_fini_smc_tables()
586 smu_dpm->dpm_context = NULL; in smu_v13_0_fini_smc_tables()
1691 struct smu_13_0_dpm_context *dpm_context = in smu_v13_0_set_performance_level() local
1692 smu->smu_dpm.dpm_context; in smu_v13_0_set_performance_level()
1694 &dpm_context->dpm_tables.gfx_table; in smu_v13_0_set_performance_level()
1696 &dpm_context->dpm_tables.uclk_table; in smu_v13_0_set_performance_level()
1698 &dpm_context->dpm_tables.soc_table; in smu_v13_0_set_performance_level()
1700 &dpm_context->dpm_tables.vclk_table; in smu_v13_0_set_performance_level()
1702 &dpm_context->dpm_tables.dclk_table; in smu_v13_0_set_performance_level()
1704 &dpm_context->dpm_tables.fclk_table; in smu_v13_0_set_performance_level()
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c937 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in navi10_allocate_dpm_context()
939 if (!smu_dpm->dpm_context) in navi10_allocate_dpm_context()
964 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in navi10_set_default_dpm_table() local
970 dpm_table = &dpm_context->dpm_tables.soc_table; in navi10_set_default_dpm_table()
988 dpm_table = &dpm_context->dpm_tables.gfx_table; in navi10_set_default_dpm_table()
1006 dpm_table = &dpm_context->dpm_tables.uclk_table; in navi10_set_default_dpm_table()
1024 dpm_table = &dpm_context->dpm_tables.vclk_table; in navi10_set_default_dpm_table()
1042 dpm_table = &dpm_context->dpm_tables.dclk_table; in navi10_set_default_dpm_table()
1060 dpm_table = &dpm_context->dpm_tables.dcef_table; in navi10_set_default_dpm_table()
1078 dpm_table = &dpm_context->dpm_tables.pixel_table; in navi10_set_default_dpm_table()
[all …]
Darcturus_ppt.c290 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in arcturus_allocate_dpm_context()
292 if (!smu_dpm->dpm_context) in arcturus_allocate_dpm_context()
329 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in arcturus_set_default_dpm_table() local
335 dpm_table = &dpm_context->dpm_tables.soc_table; in arcturus_set_default_dpm_table()
353 dpm_table = &dpm_context->dpm_tables.gfx_table; in arcturus_set_default_dpm_table()
371 dpm_table = &dpm_context->dpm_tables.uclk_table; in arcturus_set_default_dpm_table()
389 dpm_table = &dpm_context->dpm_tables.fclk_table; in arcturus_set_default_dpm_table()
531 struct smu_11_0_dpm_context *dpm_context = in arcturus_populate_umd_state_clk() local
532 smu->smu_dpm.dpm_context; in arcturus_populate_umd_state_clk()
534 &dpm_context->dpm_tables.gfx_table; in arcturus_populate_umd_state_clk()
[all …]
Dsienna_cichlid_ppt.c875 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in sienna_cichlid_allocate_dpm_context()
877 if (!smu_dpm->dpm_context) in sienna_cichlid_allocate_dpm_context()
906 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in sienna_cichlid_set_default_dpm_table() local
913 dpm_table = &dpm_context->dpm_tables.soc_table; in sienna_cichlid_set_default_dpm_table()
932 dpm_table = &dpm_context->dpm_tables.gfx_table; in sienna_cichlid_set_default_dpm_table()
950 dpm_table = &dpm_context->dpm_tables.uclk_table; in sienna_cichlid_set_default_dpm_table()
968 dpm_table = &dpm_context->dpm_tables.fclk_table; in sienna_cichlid_set_default_dpm_table()
990 dpm_table = &dpm_context->dpm_tables.vclk_table; in sienna_cichlid_set_default_dpm_table()
1012 dpm_table = &dpm_context->dpm_tables.dclk_table; in sienna_cichlid_set_default_dpm_table()
1031 dpm_table = &dpm_context->dpm_tables.dcef_table; in sienna_cichlid_set_default_dpm_table()
[all …]
Dsmu_v11_0.c486 kfree(smu_dpm->dpm_context); in smu_v11_0_fini_smc_tables()
490 smu_dpm->dpm_context = NULL; in smu_v11_0_fini_smc_tables()
1850 struct smu_11_0_dpm_context *dpm_context = in smu_v11_0_set_performance_level() local
1851 smu->smu_dpm.dpm_context; in smu_v11_0_set_performance_level()
1853 &dpm_context->dpm_tables.gfx_table; in smu_v11_0_set_performance_level()
1855 &dpm_context->dpm_tables.uclk_table; in smu_v11_0_set_performance_level()
1857 &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-5.19.10/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c1653 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_enable_umd_pstate()
1827 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_get_performance_level()
1843 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_force_performance_level()
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h368 void *dpm_context; member
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c615 if (!smu_dpm_ctx->dpm_context || in renoir_get_current_power_state()