Home
last modified time | relevance | path

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

/linux-6.6.21/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.c263 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in vangogh_tables_init()
264 if (!smu_table->gpu_metrics_table) in vangogh_tables_init()
280 kfree(smu_table->gpu_metrics_table); in vangogh_tables_init()
1687 (struct gpu_metrics_v2_3 *)smu_table->gpu_metrics_table; in vangogh_get_legacy_gpu_metrics_v2_3()
1744 (struct gpu_metrics_v2_2 *)smu_table->gpu_metrics_table; in vangogh_get_legacy_gpu_metrics()
1801 (struct gpu_metrics_v2_3 *)smu_table->gpu_metrics_table; in vangogh_get_gpu_metrics_v2_3()
1873 (struct gpu_metrics_v2_4 *)smu_table->gpu_metrics_table; in vangogh_get_gpu_metrics_v2_4()
1952 (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()
2904 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in navi10_get_legacy_gpu_metrics()
3127 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in navi10_get_gpu_metrics()
3199 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in navi12_get_legacy_gpu_metrics()
3274 (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()
2370 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in arcturus_get_gpu_metrics()
Dsmu_v11_0.c433 kfree(smu_table->gpu_metrics_table); in smu_v11_0_fini_smc_tables()
440 smu_table->gpu_metrics_table = NULL; in smu_v11_0_fini_smc_tables()
Dsienna_cichlid_ppt.c560 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in sienna_cichlid_tables_init()
561 if (!smu_table->gpu_metrics_table) in sienna_cichlid_tables_init()
584 kfree(smu_table->gpu_metrics_table); in sienna_cichlid_tables_init()
3904 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in sienna_cichlid_get_gpu_metrics()
/linux-6.6.21/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()
465 (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()
240 (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()
556 (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()
1734 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in aldebaran_get_gpu_metrics()
Dsmu_v13_0_6_ppt.c242 smu_table->gpu_metrics_table = in smu_v13_0_6_tables_init()
244 if (!smu_table->gpu_metrics_table) { in smu_v13_0_6_tables_init()
253 kfree(smu_table->gpu_metrics_table); in smu_v13_0_6_tables_init()
1960 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in smu_v13_0_6_get_gpu_metrics()
Dsmu_v13_0_7_ppt.c521 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v13_0_7_tables_init()
522 if (!smu_table->gpu_metrics_table) in smu_v13_0_7_tables_init()
532 kfree(smu_table->gpu_metrics_table); in smu_v13_0_7_tables_init()
1683 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in smu_v13_0_7_get_gpu_metrics()
Dsmu_v13_0_0_ppt.c515 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in smu_v13_0_0_tables_init()
516 if (!smu_table->gpu_metrics_table) in smu_v13_0_0_tables_init()
532 kfree(smu_table->gpu_metrics_table); in smu_v13_0_0_tables_init()
1705 (struct gpu_metrics_v1_3 *)smu_table->gpu_metrics_table; in smu_v13_0_0_get_gpu_metrics()
Dsmu_v13_0.c506 kfree(smu_table->gpu_metrics_table); in smu_v13_0_fini_smc_tables()
513 smu_table->gpu_metrics_table = NULL; in smu_v13_0_fini_smc_tables()
/linux-6.6.21/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()
1348 (struct gpu_metrics_v2_2 *)smu_table->gpu_metrics_table; in renoir_get_gpu_metrics()
/linux-6.6.21/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.c2873 &data->gpu_metrics_table; in vega12_get_gpu_metrics()
Dvega20_hwmgr.c4314 &data->gpu_metrics_table; in vega20_get_gpu_metrics()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h357 void *gpu_metrics_table; member