Home
last modified time | relevance | path

Searched refs:clocks_table (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0_0_ppt.c202 …smu_table->clocks_table = kzalloc(max(sizeof(DpmClocks_t), sizeof(DpmClocks_t_v14_0_1)), GFP_KERNE… in smu_v14_0_0_init_smc_tables()
203 if (!smu_table->clocks_table) in smu_v14_0_0_init_smc_tables()
220 kfree(smu_table->clocks_table); in smu_v14_0_0_init_smc_tables()
231 kfree(smu_table->clocks_table); in smu_v14_0_0_fini_smc_tables()
232 smu_table->clocks_table = NULL; in smu_v14_0_0_fini_smc_tables()
635 DpmClocks_t_v14_0_1 *clk_table = smu->smu_table.clocks_table; in smu_v14_0_1_get_dpm_freq_by_index()
689 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v14_0_0_get_dpm_freq_by_index()
777 DpmClocks_t_v14_0_1 *clk_table = smu->smu_table.clocks_table; in smu_v14_0_1_get_dpm_ultimate_freq()
899 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v14_0_0_get_dpm_ultimate_freq()
1064 DpmClocks_t_v14_0_1 *clk_table = smu->smu_table.clocks_table; in smu_v14_0_1_get_dpm_level_count()
[all …]
Dsmu_v14_0.c1794 smu_table->clocks_table, false); in smu_v14_0_set_default_dpm_tables()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_5_ppt.c136 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in smu_v13_0_5_init_smc_tables()
137 if (!smu_table->clocks_table) in smu_v13_0_5_init_smc_tables()
161 kfree(smu_table->clocks_table); in smu_v13_0_5_init_smc_tables()
170 kfree(smu_table->clocks_table); in smu_v13_0_5_fini_smc_tables()
171 smu_table->clocks_table = NULL; in smu_v13_0_5_fini_smc_tables()
508 return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false); in smu_v13_0_5_set_default_dpm_tables()
627 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_5_get_dpm_level_count()
657 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_5_get_dpm_freq_by_index()
730 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_5_get_dpm_ultimate_freq()
1081 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_5_set_fine_grain_gfx_freq_parameters()
Dsmu_v13_0_4_ppt.c162 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in smu_v13_0_4_init_smc_tables()
163 if (!smu_table->clocks_table) in smu_v13_0_4_init_smc_tables()
187 kfree(smu_table->clocks_table); in smu_v13_0_4_init_smc_tables()
196 kfree(smu_table->clocks_table); in smu_v13_0_4_fini_smc_tables()
197 smu_table->clocks_table = NULL; in smu_v13_0_4_fini_smc_tables()
429 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_4_get_dpm_freq_by_index()
472 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_4_get_dpm_level_count()
755 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_4_get_dpm_ultimate_freq()
1083 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in smu_v13_0_4_set_fine_grain_gfx_freq_parameters()
Dyellow_carp_ppt.c163 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in yellow_carp_init_smc_tables()
164 if (!smu_table->clocks_table) in yellow_carp_init_smc_tables()
188 kfree(smu_table->clocks_table); in yellow_carp_init_smc_tables()
197 kfree(smu_table->clocks_table); in yellow_carp_fini_smc_tables()
198 smu_table->clocks_table = NULL; in yellow_carp_fini_smc_tables()
639 return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false); in yellow_carp_set_default_dpm_tables()
761 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in yellow_carp_get_dpm_level_count()
791 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in yellow_carp_get_dpm_freq_by_index()
864 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in yellow_carp_get_dpm_ultimate_freq()
1308 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in yellow_carp_set_fine_grain_gfx_freq_parameters()
Dsmu_v13_0.c2453 smu_table->clocks_table, false); in smu_v13_0_set_default_dpm_tables()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Dsmu_v12_0.c186 kfree(smu_table->clocks_table); in smu_v12_0_fini_smc_tables()
187 smu_table->clocks_table = NULL; in smu_v12_0_fini_smc_tables()
205 return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false); in smu_v12_0_set_default_dpm_tables()
Drenoir_ppt.c168 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in renoir_init_smc_tables()
169 if (!smu_table->clocks_table) in renoir_init_smc_tables()
193 kfree(smu_table->clocks_table); in renoir_init_smc_tables()
205 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in renoir_get_dpm_clk_limited()
756 DpmClocks_t *table = smu->smu_table.clocks_table; in renoir_get_dpm_clock_table()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c256 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in vangogh_tables_init()
257 if (!smu_table->clocks_table) in vangogh_tables_init()
520 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in vangogh_get_dpm_clk_limited()
563 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in vangogh_print_legacy_clk_levels()
665 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in vangogh_print_clk_levels()
811 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in vangogh_get_profiling_clk_mask()
2170 return smu_cmn_update_table(smu, SMU_TABLE_DPMCLOCKS, 0, smu_table->clocks_table, false); in vangogh_set_default_dpm_tables()
2175 DpmClocks_t *clk_table = smu->smu_table.clocks_table; in vangogh_set_fine_grain_gfx_freq_parameters()
2192 DpmClocks_t *table = smu->smu_table.clocks_table; in vangogh_get_dpm_clock_table()
Dsmu_v11_0.c435 kfree(smu_table->clocks_table); in smu_v11_0_fini_smc_tables()
442 smu_table->clocks_table = NULL; in smu_v11_0_fini_smc_tables()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h334 void *clocks_table; member