Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/selftests/
A 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()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
A Dnavi10_ppt.c549 mutex_lock(&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()
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()
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()
2719 mutex_lock(&smu->metrics_lock); in navi10_get_legacy_gpu_metrics()
2911 mutex_lock(&smu->metrics_lock); in navi10_get_gpu_metrics()
2989 mutex_lock(&smu->metrics_lock); in navi12_get_legacy_gpu_metrics()
[all …]
A Dcyan_skillfish_ppt.c153 mutex_lock(&smu->metrics_lock); in cyan_skillfish_get_smu_metrics_data()
157 mutex_unlock(&smu->metrics_lock); in cyan_skillfish_get_smu_metrics_data()
203 mutex_unlock(&smu->metrics_lock); in cyan_skillfish_get_smu_metrics_data()
A 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()
A Dsienna_cichlid_ppt.c525 mutex_lock(&smu->metrics_lock); in sienna_cichlid_get_smu_metrics_data()
531 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_smu_metrics_data()
633 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_smu_metrics_data()
3586 mutex_lock(&smu->metrics_lock); in sienna_cichlid_get_gpu_metrics()
3591 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_gpu_metrics()
3673 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_gpu_metrics()
A Darcturus_ppt.c616 mutex_lock(&smu->metrics_lock); in arcturus_get_smu_metrics_data()
622 mutex_unlock(&smu->metrics_lock); in arcturus_get_smu_metrics_data()
707 mutex_unlock(&smu->metrics_lock); in arcturus_get_smu_metrics_data()
/linux/drivers/gpu/drm/i915/
A Di915_perf_types.h392 struct mutex metrics_lock; member
A Di915_perf.c4150 err = mutex_lock_interruptible(&perf->metrics_lock); in i915_perf_add_config_ioctl()
4181 mutex_unlock(&perf->metrics_lock); in i915_perf_add_config_ioctl()
4188 mutex_unlock(&perf->metrics_lock); in i915_perf_add_config_ioctl()
4224 ret = mutex_lock_interruptible(&perf->metrics_lock); in i915_perf_remove_config_ioctl()
4241 mutex_unlock(&perf->metrics_lock); in i915_perf_remove_config_ioctl()
4250 mutex_unlock(&perf->metrics_lock); in i915_perf_remove_config_ioctl()
4448 mutex_init(&perf->metrics_lock); in i915_perf_init()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
A 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()
1592 mutex_lock(&smu->metrics_lock); in aldebaran_get_unique_id()
1601 mutex_unlock(&smu->metrics_lock); in aldebaran_get_unique_id()
A Dyellow_carp_ppt.c313 mutex_lock(&smu->metrics_lock); in yellow_carp_get_smu_metrics_data()
317 mutex_unlock(&smu->metrics_lock); in yellow_carp_get_smu_metrics_data()
390 mutex_unlock(&smu->metrics_lock); in yellow_carp_get_smu_metrics_data()
/linux/drivers/gpu/drm/amd/pm/swsmu/
A Dsmu_cmn.c981 mutex_lock(&smu->metrics_lock); in smu_cmn_get_metrics_table()
985 mutex_unlock(&smu->metrics_lock); in smu_cmn_get_metrics_table()
A Damdgpu_smu.c1036 mutex_init(&smu->metrics_lock); in smu_sw_init()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/
A Drenoir_ppt.c1139 mutex_lock(&smu->metrics_lock); in renoir_get_smu_metrics_data()
1145 mutex_unlock(&smu->metrics_lock); in renoir_get_smu_metrics_data()
1212 mutex_unlock(&smu->metrics_lock); in renoir_get_smu_metrics_data()
/linux/drivers/gpu/drm/amd/pm/inc/
A Damdgpu_smu.h490 struct mutex metrics_lock; member

Completed in 55 milliseconds