Home
last modified time | relevance | path

Searched refs:gpu_metrics_table (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dcyan_skillfish_ppt.c102 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in cyan_skillfish_tables_init()
103 if (!smu_table->gpu_metrics_table) in cyan_skillfish_tables_init()
388 (struct gpu_metrics_v2_2 *)smu_table->gpu_metrics_table; in cyan_skillfish_get_gpu_metrics()
Dvangogh_ppt.c248 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in vangogh_tables_init()
249 if (!smu_table->gpu_metrics_table) in vangogh_tables_init()
265 kfree(smu_table->gpu_metrics_table); in vangogh_tables_init()
1674 (struct gpu_metrics_v2_3 *)smu_table->gpu_metrics_table; in vangogh_get_legacy_gpu_metrics_v2_3()
1731 (struct gpu_metrics_v2_2 *)smu_table->gpu_metrics_table; in vangogh_get_legacy_gpu_metrics()
1788 (struct gpu_metrics_v2_3 *)smu_table->gpu_metrics_table; in vangogh_get_gpu_metrics_v2_3()
1860 (struct gpu_metrics_v2_4 *)smu_table->gpu_metrics_table; in vangogh_get_gpu_metrics_v2_4()
1939 (struct gpu_metrics_v2_2 *)smu_table->gpu_metrics_table; in vangogh_get_gpu_metrics()
Dnavi10_ppt.c530 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in navi10_tables_init()
531 if (!smu_table->gpu_metrics_table) in navi10_tables_init()
548 kfree(smu_table->gpu_metrics_table); in navi10_tables_init()
2926 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in navi10_get_legacy_gpu_metrics()
3149 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in navi10_get_gpu_metrics()
3221 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in navi12_get_legacy_gpu_metrics()
3296 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in navi12_get_gpu_metrics()
Darcturus_ppt.c277 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in arcturus_tables_init()
278 if (!smu_table->gpu_metrics_table) { in arcturus_tables_init()
2294 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in arcturus_get_gpu_metrics()
Dsmu_v11_0.c429 kfree(smu_table->gpu_metrics_table); in smu_v11_0_fini_smc_tables()
436 smu_table->gpu_metrics_table = NULL; in smu_v11_0_fini_smc_tables()
Dsienna_cichlid_ppt.c564 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in sienna_cichlid_tables_init()
565 if (!smu_table->gpu_metrics_table) in sienna_cichlid_tables_init()
588 kfree(smu_table->gpu_metrics_table); in sienna_cichlid_tables_init()
3923 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in sienna_cichlid_get_gpu_metrics()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_5_ppt.c150 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v13_0_5_init_smc_tables()
151 if (!smu_table->gpu_metrics_table) in smu_v13_0_5_init_smc_tables()
179 kfree(smu_table->gpu_metrics_table); in smu_v13_0_5_fini_smc_tables()
180 smu_table->gpu_metrics_table = NULL; in smu_v13_0_5_fini_smc_tables()
471 (struct gpu_metrics_v2_1 *)smu_table->gpu_metrics_table; in smu_v13_0_5_get_gpu_metrics()
Dsmu_v13_0_4_ppt.c176 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v13_0_4_init_smc_tables()
177 if (!smu_table->gpu_metrics_table) in smu_v13_0_4_init_smc_tables()
205 kfree(smu_table->gpu_metrics_table); in smu_v13_0_4_fini_smc_tables()
206 smu_table->gpu_metrics_table = NULL; in smu_v13_0_4_fini_smc_tables()
252 (struct gpu_metrics_v2_1 *)smu_table->gpu_metrics_table; in smu_v13_0_4_get_gpu_metrics()
Dyellow_carp_ppt.c177 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in yellow_carp_init_smc_tables()
178 if (!smu_table->gpu_metrics_table) in yellow_carp_init_smc_tables()
206 kfree(smu_table->gpu_metrics_table); in yellow_carp_fini_smc_tables()
207 smu_table->gpu_metrics_table = NULL; in yellow_carp_fini_smc_tables()
562 (struct gpu_metrics_v2_1 *)smu_table->gpu_metrics_table; in yellow_carp_get_gpu_metrics()
Daldebaran_ppt.c253 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in aldebaran_tables_init()
254 if (!smu_table->gpu_metrics_table) { in aldebaran_tables_init()
262 kfree(smu_table->gpu_metrics_table); in aldebaran_tables_init()
1713 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in aldebaran_get_gpu_metrics()
Dsmu_v13_0_7_ppt.c527 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v13_0_7_tables_init()
528 if (!smu_table->gpu_metrics_table) in smu_v13_0_7_tables_init()
538 kfree(smu_table->gpu_metrics_table); in smu_v13_0_7_tables_init()
2019 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in smu_v13_0_7_get_gpu_metrics()
Dsmu_v13_0_0_ppt.c513 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v13_0_0_tables_init()
514 if (!smu_table->gpu_metrics_table) in smu_v13_0_0_tables_init()
530 kfree(smu_table->gpu_metrics_table); in smu_v13_0_0_tables_init()
2033 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in smu_v13_0_0_get_gpu_metrics()
Dsmu_v13_0_6_ppt.c356 smu_table->gpu_metrics_table = in smu_v13_0_6_tables_init()
358 if (!smu_table->gpu_metrics_table) { in smu_v13_0_6_tables_init()
367 kfree(smu_table->gpu_metrics_table); in smu_v13_0_6_tables_init()
2304 (struct gpu_metrics_v1_5 *)smu_table->gpu_metrics_table; in smu_v13_0_6_get_gpu_metrics()
Dsmu_v13_0.c505 kfree(smu_table->gpu_metrics_table); in smu_v13_0_fini_smc_tables()
512 smu_table->gpu_metrics_table = NULL; in smu_v13_0_fini_smc_tables()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Dsmu_v12_0.c195 kfree(smu_table->gpu_metrics_table); in smu_v12_0_fini_smc_tables()
196 smu_table->gpu_metrics_table = NULL; in smu_v12_0_fini_smc_tables()
Drenoir_ppt.c182 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in renoir_init_smc_tables()
183 if (!smu_table->gpu_metrics_table) in renoir_init_smc_tables()
1389 (struct gpu_metrics_v2_2 *)smu_table->gpu_metrics_table; in renoir_get_gpu_metrics()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0_0_ppt.c211 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v14_0_0_init_smc_tables()
212 if (!smu_table->gpu_metrics_table) in smu_v14_0_0_init_smc_tables()
240 kfree(smu_table->gpu_metrics_table); in smu_v14_0_0_fini_smc_tables()
241 smu_table->gpu_metrics_table = NULL; in smu_v14_0_0_fini_smc_tables()
545 (struct gpu_metrics_v3_0 *)smu_table->gpu_metrics_table; in smu_v14_0_0_get_gpu_metrics()
Dsmu_v14_0_2_ppt.c444 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v14_0_2_tables_init()
445 if (!smu_table->gpu_metrics_table) in smu_v14_0_2_tables_init()
461 kfree(smu_table->gpu_metrics_table); in smu_v14_0_2_tables_init()
2084 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in smu_v14_0_2_get_gpu_metrics()
Dsmu_v14_0.c492 kfree(smu_table->gpu_metrics_table); in smu_v14_0_fini_smc_tables()
498 smu_table->gpu_metrics_table = NULL; in smu_v14_0_fini_smc_tables()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.h401 struct gpu_metrics_v1_0 gpu_metrics_table; member
Dvega20_hwmgr.h528 struct gpu_metrics_v1_0 gpu_metrics_table; member
Dvega12_hwmgr.c2883 &data->gpu_metrics_table; in vega12_get_gpu_metrics()
Dvega20_hwmgr.c4329 &data->gpu_metrics_table; in vega20_get_gpu_metrics()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h362 void *gpu_metrics_table; member