Home
last modified time | relevance | path

Searched refs:metrics_table (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
A Dcyan_skillfish_ppt.c97 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 Dnavi10_ppt.c515 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 Dvangogh_ppt.c233 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 Darcturus_ppt.c273 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 Dsienna_cichlid_ppt.c467 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 Dsmu_v11_0.c476 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 Dsmu_cmn.c946 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 Dsmu_cmn.h101 void *metrics_table,
105 void *metrics_table,
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dvega12_hwmgr.c1355 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 Dvega20_hwmgr.c2112 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 Dvega12_hwmgr.h401 SmuMetrics_t metrics_table; member
A Dvega20_hwmgr.h529 SmuMetrics_t metrics_table; member
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
A Dyellow_carp_ppt.c154 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 Daldebaran_ppt.c226 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 Dsmu_v13_0.c436 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 Dsmu_v12_0.c189 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 Drenoir_ppt.c163 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 Damdgpu_smu.h336 void *metrics_table; member

Completed in 65 milliseconds