Searched refs:gpu_metrics_table (Results 1 – 20 of 20) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0_5_ppt.c | 150 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()
|
D | smu_v13_0_4_ppt.c | 172 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()
|
D | yellow_carp_ppt.c | 169 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()
|
D | smu_v13_0_7_ppt.c | 492 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()
|
D | smu_v13_0_0_ppt.c | 438 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()
|
D | aldebaran_ppt.c | 254 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()
|
D | smu_v13_0.c | 538 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/ |
D | cyan_skillfish_ppt.c | 102 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()
|
D | vangogh_ppt.c | 261 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()
|
D | navi10_ppt.c | 523 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()
|
D | arcturus_ppt.c | 277 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()
|
D | smu_v11_0.c | 459 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()
|
D | sienna_cichlid_ppt.c | 550 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/ |
D | smu_v12_0.c | 195 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()
|
D | renoir_ppt.c | 182 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/ |
D | vega12_hwmgr.h | 402 struct gpu_metrics_v1_0 gpu_metrics_table; member
|
D | vega20_hwmgr.h | 530 struct gpu_metrics_v1_0 gpu_metrics_table; member
|
D | vega12_hwmgr.c | 2848 &data->gpu_metrics_table; in vega12_get_gpu_metrics()
|
D | vega20_hwmgr.c | 4308 &data->gpu_metrics_table; in vega20_get_gpu_metrics()
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/inc/ |
D | amdgpu_smu.h | 363 void *gpu_metrics_table; member
|