/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
A D | cyan_skillfish_ppt.c | 97 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in cyan_skillfish_tables_init() 98 if (!smu_table->metrics_table) in cyan_skillfish_tables_init() 112 kfree(smu_table->metrics_table); in cyan_skillfish_tables_init() 132 kfree(smu_table->metrics_table); in cyan_skillfish_finit_smc_tables() 133 smu_table->metrics_table = NULL; in cyan_skillfish_finit_smc_tables() 150 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in cyan_skillfish_get_smu_metrics_data()
|
A 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 …]
|
A 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()
|
A 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() 613 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in arcturus_get_smu_metrics_data()
|
A D | sienna_cichlid_ppt.c | 467 smu_table->metrics_table = kzalloc(sizeof(SmuMetricsExternal_t), GFP_KERNEL); in sienna_cichlid_tables_init() 468 if (!smu_table->metrics_table) in sienna_cichlid_tables_init() 486 kfree(smu_table->metrics_table); in sienna_cichlid_tables_init() 495 (SmuMetricsExternal_t *)(smu_table->metrics_table); in sienna_cichlid_get_throttler_status_locked() 517 &(((SmuMetricsExternal_t *)(smu_table->metrics_table))->SmuMetrics); in sienna_cichlid_get_smu_metrics_data() 519 &(((SmuMetricsExternal_t *)(smu_table->metrics_table))->SmuMetrics_V2); in sienna_cichlid_get_smu_metrics_data()
|
A D | smu_v11_0.c | 476 kfree(smu_table->metrics_table); in smu_v11_0_fini_smc_tables() 478 smu_table->metrics_table = NULL; in smu_v11_0_fini_smc_tables()
|
/linux/drivers/gpu/drm/amd/pm/swsmu/ |
A D | smu_cmn.c | 946 void *metrics_table, in smu_cmn_get_metrics_table_locked() argument 960 smu_table->metrics_table, in smu_cmn_get_metrics_table_locked() 969 if (metrics_table) in smu_cmn_get_metrics_table_locked() 970 memcpy(metrics_table, smu_table->metrics_table, table_size); in smu_cmn_get_metrics_table_locked() 976 void *metrics_table, in smu_cmn_get_metrics_table() argument 983 metrics_table, in smu_cmn_get_metrics_table()
|
A D | smu_cmn.h | 101 void *metrics_table, 105 void *metrics_table,
|
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
A 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 1391 *query = metrics_table.CurrSocketPower << 8; in vega12_get_gpu_power() 1435 SmuMetrics_t metrics_table; in vega12_get_current_activity_percent() local 1444 *activity_percent = metrics_table.AverageGfxActivity; in vega12_get_current_activity_percent() 1447 *activity_percent = metrics_table.AverageUclkActivity; in vega12_get_current_activity_percent() 1461 SmuMetrics_t metrics_table; in vega12_read_sensor() local [all …]
|
A 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 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 2189 *activity_percent = metrics_table.AverageGfxActivity; in vega20_get_current_activity_percent() 2207 SmuMetrics_t metrics_table; in vega20_read_sensor() local [all …]
|
A D | vega12_hwmgr.h | 401 SmuMetrics_t metrics_table; member
|
A D | vega20_hwmgr.h | 529 SmuMetrics_t metrics_table; member
|
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
A D | yellow_carp_ppt.c | 154 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in yellow_carp_init_smc_tables() 155 if (!smu_table->metrics_table) in yellow_carp_init_smc_tables() 173 kfree(smu_table->metrics_table); in yellow_carp_init_smc_tables() 187 kfree(smu_table->metrics_table); in yellow_carp_fini_smc_tables() 188 smu_table->metrics_table = NULL; in yellow_carp_fini_smc_tables() 310 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in yellow_carp_get_smu_metrics_data()
|
A 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() 1588 SmuMetrics_t *metrics = smu->smu_table.metrics_table; in aldebaran_get_unique_id()
|
A D | smu_v13_0.c | 436 kfree(smu_table->metrics_table); in smu_v13_0_fini_smc_tables() 438 smu_table->metrics_table = NULL; in smu_v13_0_fini_smc_tables()
|
/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
A 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()
|
A 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() 1136 SmuMetrics_t *metrics = (SmuMetrics_t *)smu_table->metrics_table; in renoir_get_smu_metrics_data()
|
/linux/drivers/gpu/drm/amd/pm/inc/ |
A D | amdgpu_smu.h | 336 void *metrics_table; member
|