/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | cyan_skillfish_ppt.c | 96 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in cyan_skillfish_tables_init() 97 if (!smu_table->metrics_table) in cyan_skillfish_tables_init() 111 kfree(smu_table->metrics_table); in cyan_skillfish_tables_init() 131 kfree(smu_table->metrics_table); in cyan_skillfish_finit_smc_tables() 132 smu_table->metrics_table = NULL; in cyan_skillfish_finit_smc_tables() 149 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in cyan_skillfish_get_smu_metrics_data()
|
D | navi10_ppt.c | 515 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_NV1X_t), in navi10_tables_init() 517 if (!smu_table->metrics_table) in navi10_tables_init() 535 kfree(smu_table->metrics_table); in navi10_tables_init() 546 (SmuMetrics_legacy_t *)smu_table->metrics_table; in navi10_get_legacy_smu_metrics_data() 638 (SmuMetrics_t *)smu_table->metrics_table; in navi10_get_smu_metrics_data() 733 (SmuMetrics_NV12_legacy_t *)smu_table->metrics_table; in navi12_get_legacy_smu_metrics_data() 825 (SmuMetrics_NV12_t *)smu_table->metrics_table; in navi12_get_smu_metrics_data() 2729 memcpy(&metrics, smu_table->metrics_table, sizeof(SmuMetrics_legacy_t)); in navi10_get_legacy_gpu_metrics() 2921 memcpy(&metrics, smu_table->metrics_table, sizeof(SmuMetrics_t)); in navi10_get_gpu_metrics() 2999 memcpy(&metrics, smu_table->metrics_table, sizeof(SmuMetrics_NV12_legacy_t)); in navi12_get_legacy_gpu_metrics() [all …]
|
D | vangogh_ppt.c | 233 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_legacy_t), GFP_KERNEL); in vangogh_tables_init() 237 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in vangogh_tables_init() 239 if (!smu_table->metrics_table) in vangogh_tables_init() 263 kfree(smu_table->metrics_table); in vangogh_tables_init() 273 SmuMetrics_legacy_t *metrics = (SmuMetrics_legacy_t *)smu_table->metrics_table; in vangogh_get_legacy_smu_metrics_data() 348 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in vangogh_get_smu_metrics_data()
|
D | arcturus_ppt.c | 273 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in arcturus_tables_init() 274 if (!smu_table->metrics_table) in arcturus_tables_init() 281 kfree(smu_table->metrics_table); in arcturus_tables_init() 599 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in arcturus_get_smu_metrics_data()
|
D | sienna_cichlid_ppt.c | 514 smu_table->metrics_table = kzalloc(sizeof(SmuMetricsExternal_t), GFP_KERNEL); in sienna_cichlid_tables_init() 515 if (!smu_table->metrics_table) in sienna_cichlid_tables_init() 533 kfree(smu_table->metrics_table); in sienna_cichlid_tables_init() 542 (SmuMetricsExternal_t *)(smu_table->metrics_table); in sienna_cichlid_get_throttler_status_locked() 564 &(((SmuMetricsExternal_t *)(smu_table->metrics_table))->SmuMetrics); in sienna_cichlid_get_smu_metrics_data() 566 &(((SmuMetricsExternal_t *)(smu_table->metrics_table))->SmuMetrics_V2); in sienna_cichlid_get_smu_metrics_data()
|
D | smu_v11_0.c | 474 kfree(smu_table->metrics_table); in smu_v11_0_fini_smc_tables() 476 smu_table->metrics_table = NULL; in smu_v11_0_fini_smc_tables()
|
/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.c | 942 void *metrics_table, in smu_cmn_get_metrics_table_locked() argument 956 smu_table->metrics_table, in smu_cmn_get_metrics_table_locked() 965 if (metrics_table) in smu_cmn_get_metrics_table_locked() 966 memcpy(metrics_table, smu_table->metrics_table, table_size); in smu_cmn_get_metrics_table_locked() 972 void *metrics_table, in smu_cmn_get_metrics_table() argument 979 metrics_table, in smu_cmn_get_metrics_table()
|
D | smu_cmn.h | 101 void *metrics_table, 105 void *metrics_table,
|
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega12_hwmgr.c | 1355 SmuMetrics_t *metrics_table, in vega12_get_metrics_table() argument 1366 (uint8_t *)(&data->metrics_table), in vega12_get_metrics_table() 1376 if (metrics_table) in vega12_get_metrics_table() 1377 memcpy(metrics_table, &data->metrics_table, sizeof(SmuMetrics_t)); in vega12_get_metrics_table() 1384 SmuMetrics_t metrics_table; in vega12_get_gpu_power() local 1387 ret = vega12_get_metrics_table(hwmgr, &metrics_table, false); in vega12_get_gpu_power() 1391 *query = metrics_table.CurrSocketPower << 8; in vega12_get_gpu_power() 1435 SmuMetrics_t metrics_table; in vega12_get_current_activity_percent() local 1438 ret = vega12_get_metrics_table(hwmgr, &metrics_table, false); in vega12_get_current_activity_percent() 1444 *activity_percent = metrics_table.AverageGfxActivity; in vega12_get_current_activity_percent() [all …]
|
D | vega20_hwmgr.c | 2112 SmuMetrics_t *metrics_table, in vega20_get_metrics_table() argument 2123 (uint8_t *)(&data->metrics_table), in vega20_get_metrics_table() 2133 if (metrics_table) in vega20_get_metrics_table() 2134 memcpy(metrics_table, &data->metrics_table, sizeof(SmuMetrics_t)); in vega20_get_metrics_table() 2143 SmuMetrics_t metrics_table; in vega20_get_gpu_power() local 2145 ret = vega20_get_metrics_table(hwmgr, &metrics_table, false); in vega20_get_gpu_power() 2151 *query = metrics_table.AverageSocketPower << 8; in vega20_get_gpu_power() 2153 *query = metrics_table.CurrSocketPower << 8; in vega20_get_gpu_power() 2181 SmuMetrics_t metrics_table; in vega20_get_current_activity_percent() local 2183 ret = vega20_get_metrics_table(hwmgr, &metrics_table, false); in vega20_get_current_activity_percent() [all …]
|
D | vega12_hwmgr.h | 401 SmuMetrics_t metrics_table; member
|
D | vega20_hwmgr.h | 529 SmuMetrics_t metrics_table; member
|
/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | yellow_carp_ppt.c | 163 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in yellow_carp_init_smc_tables() 164 if (!smu_table->metrics_table) in yellow_carp_init_smc_tables() 182 kfree(smu_table->metrics_table); in yellow_carp_init_smc_tables() 196 kfree(smu_table->metrics_table); in yellow_carp_fini_smc_tables() 197 smu_table->metrics_table = NULL; in yellow_carp_fini_smc_tables() 350 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in yellow_carp_get_smu_metrics_data()
|
D | aldebaran_ppt.c | 226 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in aldebaran_tables_init() 227 if (!smu_table->metrics_table) in aldebaran_tables_init() 234 kfree(smu_table->metrics_table); in aldebaran_tables_init() 567 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in aldebaran_get_smu_metrics_data() 1586 SmuMetrics_t *metrics = smu->smu_table.metrics_table; in aldebaran_get_unique_id()
|
D | smu_v13_0.c | 433 kfree(smu_table->metrics_table); in smu_v13_0_fini_smc_tables() 435 smu_table->metrics_table = NULL; in smu_v13_0_fini_smc_tables()
|
/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
D | smu_v12_0.c | 189 kfree(smu_table->metrics_table); in smu_v12_0_fini_smc_tables() 190 smu_table->metrics_table = NULL; in smu_v12_0_fini_smc_tables()
|
D | renoir_ppt.c | 163 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in renoir_init_smc_tables() 164 if (!smu_table->metrics_table) in renoir_init_smc_tables() 182 kfree(smu_table->metrics_table); in renoir_init_smc_tables() 1170 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in renoir_get_smu_metrics_data()
|
/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_smu.h | 336 void *metrics_table; member
|