Home
last modified time | relevance | path

Searched refs:engines_mutex (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_context.h174 lockdep_is_held(&ctx->engines_mutex)); in i915_gem_context_engines()
179 __acquires(&ctx->engines_mutex) in i915_gem_context_lock_engines()
181 mutex_lock(&ctx->engines_mutex); in i915_gem_context_lock_engines()
187 __releases(&ctx->engines_mutex) in i915_gem_context_unlock_engines()
189 mutex_unlock(&ctx->engines_mutex); in i915_gem_context_unlock_engines()
Di915_gem_context_types.h84 struct mutex engines_mutex; /* guards writes to engines */ member
Di915_gem_context.c344 mutex_destroy(&ctx->engines_mutex); in i915_gem_context_free()
613 mutex_lock(&ctx->engines_mutex); in context_close()
616 mutex_unlock(&ctx->engines_mutex); in context_close()
712 mutex_init(&ctx->engines_mutex); in __create_context()
1863 mutex_lock(&ctx->engines_mutex); in set_engines()
1865 mutex_unlock(&ctx->engines_mutex); in set_engines()
1874 mutex_unlock(&ctx->engines_mutex); in set_engines()
1912 err = mutex_lock_interruptible(&ctx->engines_mutex); in get_engines()
1919 mutex_unlock(&ctx->engines_mutex); in get_engines()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.c33 mutex_init(&ctx->engines_mutex); in mock_context()
131 mutex_lock(&ctx->engines_mutex); in live_context_for_engine()
134 mutex_unlock(&ctx->engines_mutex); in live_context_for_engine()