Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_bo.c569 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() local
607 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()
626 if (busy_bo) in ttm_mem_evict_first()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gem_evict.h28 struct drm_i915_gem_object **busy_bo);
H A Di915_gem_evict.c459 struct drm_i915_gem_object **busy_bo) in i915_gem_evict_vm() argument
499 if (busy_bo) { in i915_gem_evict_vm()
500 *busy_bo = vma->obj; /* holds ref */ in i915_gem_evict_vm()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c794 struct drm_i915_gem_object *busy_bo = NULL; in eb_reserve() local
796 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()