Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_perf_types.h471 struct mutex metrics_lock; member
Di915_perf.c4789 err = mutex_lock_interruptible(&perf->metrics_lock); in i915_perf_add_config_ioctl()
4826 mutex_unlock(&perf->metrics_lock); in i915_perf_add_config_ioctl()
4831 mutex_unlock(&perf->metrics_lock); in i915_perf_add_config_ioctl()
4867 ret = mutex_lock_interruptible(&perf->metrics_lock); in i915_perf_remove_config_ioctl()
4885 mutex_unlock(&perf->metrics_lock); in i915_perf_remove_config_ioctl()
4895 mutex_unlock(&perf->metrics_lock); in i915_perf_remove_config_ioctl()
5232 mutex_init(&perf->metrics_lock); in i915_perf_init()