Home
last modified time | relevance | path

Searched refs:_ww (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/i915/
Di915_gem_ww.h37 #define for_i915_gem_ww(_ww, _err, _intr) \ argument
38 for (i915_gem_ww_ctx_init(_ww, _intr), (_err) = -EDEADLK; \
40 (_err) = __i915_gem_ww_fini(_ww, _err))
Di915_vma.c1650 struct i915_gem_ww_ctx _ww; in i915_ggtt_pin() local
1660 for_i915_gem_ww(&_ww, err, true) { in i915_ggtt_pin()
1661 err = i915_gem_object_lock(vma->obj, &_ww); in i915_ggtt_pin()
1663 err = __i915_ggtt_pin(vma, &_ww, align, flags); in i915_ggtt_pin()