Searched refs:busy_bo (Results 1 – 4 of 4) sorted by relevance
563 static int ttm_mem_evict_wait_busy(struct ttm_buffer_object *busy_bo, in ttm_mem_evict_wait_busy() argument569 if (!busy_bo || !ticket) in ttm_mem_evict_wait_busy()573 r = dma_resv_lock_interruptible(busy_bo->base.resv, in ttm_mem_evict_wait_busy()576 r = dma_resv_lock(busy_bo->base.resv, ticket); in ttm_mem_evict_wait_busy()584 dma_resv_unlock(busy_bo->base.resv); in ttm_mem_evict_wait_busy()595 struct ttm_buffer_object *bo = NULL, *busy_bo = NULL; in ttm_mem_evict_first() local607 if (busy && !busy_bo && ticket != in ttm_mem_evict_first()609 busy_bo = res->bo; in ttm_mem_evict_first()622 if (busy_bo && !ttm_bo_get_unless_zero(busy_bo)) in ttm_mem_evict_first()623 busy_bo = NULL; in ttm_mem_evict_first()[all …]
459 struct drm_i915_gem_object **busy_bo) in i915_gem_evict_vm() argument499 if (busy_bo) { in i915_gem_evict_vm()500 *busy_bo = vma->obj; /* holds ref */ in i915_gem_evict_vm()
28 struct drm_i915_gem_object **busy_bo);
794 struct drm_i915_gem_object *busy_bo = NULL; in eb_reserve() local796 err = i915_gem_evict_vm(eb->context->vm, &eb->ww, &busy_bo); in eb_reserve()798 if (err && busy_bo) { in eb_reserve()799 err = i915_gem_object_lock(busy_bo, &eb->ww); in eb_reserve()800 i915_gem_object_put(busy_bo); in eb_reserve()