Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/ttm/
A Dttm_bo.c562 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() local
600 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 …]
/linux-6.3-rc2/drivers/gpu/drm/i915/
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()
A Di915_gem_evict.h28 struct drm_i915_gem_object **busy_bo);
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/
A Di915_gem_execbuffer.c789 struct drm_i915_gem_object *busy_bo = NULL; in eb_reserve() local
791 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