Home
last modified time | relevance | path

Searched refs:metrics_lock (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/i915/selftests/
Di915_perf.c33 mutex_lock(&perf->metrics_lock); in alloc_empty_config()
37 mutex_unlock(&perf->metrics_lock); in alloc_empty_config()
42 mutex_unlock(&perf->metrics_lock); in alloc_empty_config()
53 mutex_lock(&perf->metrics_lock); in destroy_empty_config()
65 mutex_unlock(&perf->metrics_lock); in destroy_empty_config()
77 mutex_lock(&perf->metrics_lock); in get_empty_config()
86 mutex_unlock(&perf->metrics_lock); in get_empty_config()
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c549 mutex_lock(&smu->metrics_lock); in navi10_get_legacy_smu_metrics_data()
555 mutex_unlock(&smu->metrics_lock); in navi10_get_legacy_smu_metrics_data()
627 mutex_unlock(&smu->metrics_lock); in navi10_get_legacy_smu_metrics_data()
641 mutex_lock(&smu->metrics_lock); in navi10_get_smu_metrics_data()
647 mutex_unlock(&smu->metrics_lock); in navi10_get_smu_metrics_data()
722 mutex_unlock(&smu->metrics_lock); in navi10_get_smu_metrics_data()
736 mutex_lock(&smu->metrics_lock); in navi12_get_legacy_smu_metrics_data()
742 mutex_unlock(&smu->metrics_lock); in navi12_get_legacy_smu_metrics_data()
814 mutex_unlock(&smu->metrics_lock); in navi12_get_legacy_smu_metrics_data()
828 mutex_lock(&smu->metrics_lock); in navi12_get_smu_metrics_data()
[all …]
Dcyan_skillfish_ppt.c152 mutex_lock(&smu->metrics_lock); in cyan_skillfish_get_smu_metrics_data()
156 mutex_unlock(&smu->metrics_lock); in cyan_skillfish_get_smu_metrics_data()
202 mutex_unlock(&smu->metrics_lock); in cyan_skillfish_get_smu_metrics_data()
Dvangogh_ppt.c276 mutex_lock(&smu->metrics_lock); in vangogh_get_legacy_smu_metrics_data()
282 mutex_unlock(&smu->metrics_lock); in vangogh_get_legacy_smu_metrics_data()
338 mutex_unlock(&smu->metrics_lock); in vangogh_get_legacy_smu_metrics_data()
351 mutex_lock(&smu->metrics_lock); in vangogh_get_smu_metrics_data()
357 mutex_unlock(&smu->metrics_lock); in vangogh_get_smu_metrics_data()
413 mutex_unlock(&smu->metrics_lock); in vangogh_get_smu_metrics_data()
Dsienna_cichlid_ppt.c572 mutex_lock(&smu->metrics_lock); in sienna_cichlid_get_smu_metrics_data()
578 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_smu_metrics_data()
680 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_smu_metrics_data()
3775 mutex_lock(&smu->metrics_lock); in sienna_cichlid_get_gpu_metrics()
3780 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_gpu_metrics()
3862 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_gpu_metrics()
Darcturus_ppt.c602 mutex_lock(&smu->metrics_lock); in arcturus_get_smu_metrics_data()
608 mutex_unlock(&smu->metrics_lock); in arcturus_get_smu_metrics_data()
693 mutex_unlock(&smu->metrics_lock); in arcturus_get_smu_metrics_data()
/drivers/gpu/drm/i915/
Di915_perf_types.h392 struct mutex metrics_lock; member
Di915_perf.c4184 err = mutex_lock_interruptible(&perf->metrics_lock); in i915_perf_add_config_ioctl()
4221 mutex_unlock(&perf->metrics_lock); in i915_perf_add_config_ioctl()
4226 mutex_unlock(&perf->metrics_lock); in i915_perf_add_config_ioctl()
4262 ret = mutex_lock_interruptible(&perf->metrics_lock); in i915_perf_remove_config_ioctl()
4280 mutex_unlock(&perf->metrics_lock); in i915_perf_remove_config_ioctl()
4290 mutex_unlock(&perf->metrics_lock); in i915_perf_remove_config_ioctl()
4488 mutex_init(&perf->metrics_lock); in i915_perf_init()
/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.c570 mutex_lock(&smu->metrics_lock); in aldebaran_get_smu_metrics_data()
576 mutex_unlock(&smu->metrics_lock); in aldebaran_get_smu_metrics_data()
652 mutex_unlock(&smu->metrics_lock); in aldebaran_get_smu_metrics_data()
1590 mutex_lock(&smu->metrics_lock); in aldebaran_get_unique_id()
1599 mutex_unlock(&smu->metrics_lock); in aldebaran_get_unique_id()
Dyellow_carp_ppt.c355 mutex_lock(&smu->metrics_lock); in yellow_carp_get_smu_metrics_data()
359 mutex_unlock(&smu->metrics_lock); in yellow_carp_get_smu_metrics_data()
424 mutex_unlock(&smu->metrics_lock); in yellow_carp_get_smu_metrics_data()
/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c977 mutex_lock(&smu->metrics_lock); in smu_cmn_get_metrics_table()
981 mutex_unlock(&smu->metrics_lock); in smu_cmn_get_metrics_table()
Damdgpu_smu.c1029 mutex_init(&smu->metrics_lock); in smu_sw_init()
/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c1176 mutex_lock(&smu->metrics_lock); in renoir_get_smu_metrics_data()
1182 mutex_unlock(&smu->metrics_lock); in renoir_get_smu_metrics_data()
1241 mutex_unlock(&smu->metrics_lock); in renoir_get_smu_metrics_data()
/drivers/gpu/drm/amd/pm/inc/
Damdgpu_smu.h490 struct mutex metrics_lock; member