Searched refs:busy_bo (Results 1 – 4 of 4) sorted by relevance
562 if (!busy_bo || !ticket) in ttm_mem_evict_wait_busy()566 r = dma_resv_lock_interruptible(busy_bo->base.resv, in ttm_mem_evict_wait_busy()569 r = dma_resv_lock(busy_bo->base.resv, ticket); in ttm_mem_evict_wait_busy()577 dma_resv_unlock(busy_bo->base.resv); in ttm_mem_evict_wait_busy()588 struct ttm_buffer_object *bo = NULL, *busy_bo = NULL; in ttm_mem_evict_first() local600 if (busy && !busy_bo && ticket != in ttm_mem_evict_first()602 busy_bo = res->bo; in ttm_mem_evict_first()615 if (busy_bo && !ttm_bo_get_unless_zero(busy_bo)) in ttm_mem_evict_first()616 busy_bo = NULL; in ttm_mem_evict_first()619 if (busy_bo) 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);
789 struct drm_i915_gem_object *busy_bo = NULL; in eb_reserve() local791 err = i915_gem_evict_vm(eb->context->vm, &eb->ww, &busy_bo); in eb_reserve()793 if (err && busy_bo) { in eb_reserve()794 err = i915_gem_object_lock(busy_bo, &eb->ww); in eb_reserve()795 i915_gem_object_put(busy_bo); in eb_reserve()
Completed in 16 milliseconds