Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.c271 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in aldebaran_allocate_dpm_context()
273 if (!smu_dpm->dpm_context) in aldebaran_allocate_dpm_context()
309 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in aldebaran_set_default_dpm_table() local
315 dpm_table = &dpm_context->dpm_tables.soc_table; in aldebaran_set_default_dpm_table()
331 dpm_table = &dpm_context->dpm_tables.gfx_table; in aldebaran_set_default_dpm_table()
350 dpm_table = &dpm_context->dpm_tables.uclk_table; in aldebaran_set_default_dpm_table()
366 dpm_table = &dpm_context->dpm_tables.fclk_table; in aldebaran_set_default_dpm_table()
507 struct smu_13_0_dpm_context *dpm_context = in aldebaran_populate_umd_state_clk() local
508 smu->smu_dpm.dpm_context; in aldebaran_populate_umd_state_clk()
510 &dpm_context->dpm_tables.gfx_table; in aldebaran_populate_umd_state_clk()
[all …]
Dsmu_v13_0_7_ppt.c514 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_7_allocate_dpm_context()
516 if (!smu_dpm->dpm_context) in smu_v13_0_7_allocate_dpm_context()
541 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_7_set_default_dpm_table() local
550 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v13_0_7_set_default_dpm_table()
566 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_7_set_default_dpm_table()
582 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v13_0_7_set_default_dpm_table()
598 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v13_0_7_set_default_dpm_table()
614 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v13_0_7_set_default_dpm_table()
630 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v13_0_7_set_default_dpm_table()
646 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v13_0_7_set_default_dpm_table()
[all …]
Dsmu_v13_0_0_ppt.c460 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_0_allocate_dpm_context()
462 if (!smu_dpm->dpm_context) in smu_v13_0_0_allocate_dpm_context()
487 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_0_set_default_dpm_table() local
497 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v13_0_0_set_default_dpm_table()
513 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_0_set_default_dpm_table()
529 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v13_0_0_set_default_dpm_table()
545 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v13_0_0_set_default_dpm_table()
561 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v13_0_0_set_default_dpm_table()
577 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v13_0_0_set_default_dpm_table()
593 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v13_0_0_set_default_dpm_table()
[all …]
Dsmu_v13_0.c561 kfree(smu_dpm->dpm_context); in smu_v13_0_fini_smc_tables()
565 smu_dpm->dpm_context = NULL; in smu_v13_0_fini_smc_tables()
1701 struct smu_13_0_dpm_context *dpm_context = in smu_v13_0_set_performance_level() local
1702 smu->smu_dpm.dpm_context; in smu_v13_0_set_performance_level()
1704 &dpm_context->dpm_tables.gfx_table; in smu_v13_0_set_performance_level()
1706 &dpm_context->dpm_tables.uclk_table; in smu_v13_0_set_performance_level()
1708 &dpm_context->dpm_tables.soc_table; in smu_v13_0_set_performance_level()
1710 &dpm_context->dpm_tables.vclk_table; in smu_v13_0_set_performance_level()
1712 &dpm_context->dpm_tables.dclk_table; in smu_v13_0_set_performance_level()
1714 &dpm_context->dpm_tables.fclk_table; in smu_v13_0_set_performance_level()
/Linux-v6.1/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.c893 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in sienna_cichlid_allocate_dpm_context()
895 if (!smu_dpm->dpm_context) in sienna_cichlid_allocate_dpm_context()
926 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in sienna_cichlid_set_default_dpm_table() local
933 dpm_table = &dpm_context->dpm_tables.soc_table; in sienna_cichlid_set_default_dpm_table()
952 dpm_table = &dpm_context->dpm_tables.gfx_table; in sienna_cichlid_set_default_dpm_table()
970 dpm_table = &dpm_context->dpm_tables.uclk_table; in sienna_cichlid_set_default_dpm_table()
988 dpm_table = &dpm_context->dpm_tables.fclk_table; in sienna_cichlid_set_default_dpm_table()
1010 dpm_table = &dpm_context->dpm_tables.vclk_table; in sienna_cichlid_set_default_dpm_table()
1032 dpm_table = &dpm_context->dpm_tables.dclk_table; in sienna_cichlid_set_default_dpm_table()
1051 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.c449 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in vangogh_allocate_dpm_context()
451 if (!smu_dpm->dpm_context) in vangogh_allocate_dpm_context()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c1716 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_enable_umd_pstate()
1890 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_get_performance_level()
1906 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_force_performance_level()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h368 void *dpm_context; member
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c624 if (!smu_dpm_ctx->dpm_context || in renoir_get_current_power_state()