Home
last modified time | relevance | path

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

/Linux-v6.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()
464 (struct gpu_metrics_v2_1 *)smu_table->gpu_metrics_table; in smu_v13_0_5_get_gpu_metrics()
Dsmu_v13_0_4_ppt.c172 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v13_0_4_init_smc_tables()
173 if (!smu_table->gpu_metrics_table) in smu_v13_0_4_init_smc_tables()
201 kfree(smu_table->gpu_metrics_table); in smu_v13_0_4_fini_smc_tables()
202 smu_table->gpu_metrics_table = NULL; in smu_v13_0_4_fini_smc_tables()
236 (struct gpu_metrics_v2_1 *)smu_table->gpu_metrics_table; in smu_v13_0_4_get_gpu_metrics()
Dyellow_carp_ppt.c169 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in yellow_carp_init_smc_tables()
170 if (!smu_table->gpu_metrics_table) in yellow_carp_init_smc_tables()
198 kfree(smu_table->gpu_metrics_table); in yellow_carp_fini_smc_tables()
199 smu_table->gpu_metrics_table = NULL; in yellow_carp_fini_smc_tables()
547 (struct gpu_metrics_v2_1 *)smu_table->gpu_metrics_table; in yellow_carp_get_gpu_metrics()
Dsmu_v13_0_7_ppt.c492 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v13_0_7_tables_init()
493 if (!smu_table->gpu_metrics_table) in smu_v13_0_7_tables_init()
503 kfree(smu_table->gpu_metrics_table); in smu_v13_0_7_tables_init()
1236 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in smu_v13_0_7_get_gpu_metrics()
Dsmu_v13_0_0_ppt.c438 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v13_0_0_tables_init()
439 if (!smu_table->gpu_metrics_table) in smu_v13_0_0_tables_init()
449 kfree(smu_table->gpu_metrics_table); in smu_v13_0_0_tables_init()
1192 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in smu_v13_0_0_get_gpu_metrics()
Daldebaran_ppt.c254 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in aldebaran_tables_init()
255 if (!smu_table->gpu_metrics_table) { in aldebaran_tables_init()
1738 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in aldebaran_get_gpu_metrics()
Dsmu_v13_0.c538 kfree(smu_table->gpu_metrics_table); in smu_v13_0_fini_smc_tables()
544 smu_table->gpu_metrics_table = NULL; in smu_v13_0_fini_smc_tables()
/Linux-v6.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()
378 (struct gpu_metrics_v2_2 *)smu_table->gpu_metrics_table; in cyan_skillfish_get_gpu_metrics()
Dvangogh_ppt.c261 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in vangogh_tables_init()
262 if (!smu_table->gpu_metrics_table) in vangogh_tables_init()
278 kfree(smu_table->gpu_metrics_table); in vangogh_tables_init()
1658 (struct gpu_metrics_v2_3 *)smu_table->gpu_metrics_table; in vangogh_get_legacy_gpu_metrics_v2_3()
1715 (struct gpu_metrics_v2_2 *)smu_table->gpu_metrics_table; in vangogh_get_legacy_gpu_metrics()
1772 (struct gpu_metrics_v2_3 *)smu_table->gpu_metrics_table; in vangogh_get_gpu_metrics_v2_3()
1843 (struct gpu_metrics_v2_2 *)smu_table->gpu_metrics_table; in vangogh_get_gpu_metrics()
Dnavi10_ppt.c523 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in navi10_tables_init()
524 if (!smu_table->gpu_metrics_table) in navi10_tables_init()
541 kfree(smu_table->gpu_metrics_table); in navi10_tables_init()
2895 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in navi10_get_legacy_gpu_metrics()
3118 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in navi10_get_gpu_metrics()
3190 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in navi12_get_legacy_gpu_metrics()
3265 (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()
2369 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in arcturus_get_gpu_metrics()
Dsmu_v11_0.c459 kfree(smu_table->gpu_metrics_table); in smu_v11_0_fini_smc_tables()
466 smu_table->gpu_metrics_table = NULL; in smu_v11_0_fini_smc_tables()
Dsienna_cichlid_ppt.c550 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in sienna_cichlid_tables_init()
551 if (!smu_table->gpu_metrics_table) in sienna_cichlid_tables_init()
574 kfree(smu_table->gpu_metrics_table); in sienna_cichlid_tables_init()
3858 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in sienna_cichlid_get_gpu_metrics()
/Linux-v6.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()
1341 (struct gpu_metrics_v2_2 *)smu_table->gpu_metrics_table; in renoir_get_gpu_metrics()
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.h402 struct gpu_metrics_v1_0 gpu_metrics_table; member
Dvega20_hwmgr.h530 struct gpu_metrics_v1_0 gpu_metrics_table; member
Dvega12_hwmgr.c2848 &data->gpu_metrics_table; in vega12_get_gpu_metrics()
Dvega20_hwmgr.c4308 &data->gpu_metrics_table; in vega20_get_gpu_metrics()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h363 void *gpu_metrics_table; member