Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/ttm/
Dttm_bo.c587 static int ttm_mem_evict_wait_busy(struct ttm_buffer_object *busy_bo, in ttm_mem_evict_wait_busy() argument
593 if (!busy_bo || !ticket) in ttm_mem_evict_wait_busy()
597 r = dma_resv_lock_interruptible(busy_bo->base.resv, in ttm_mem_evict_wait_busy()
600 r = dma_resv_lock(busy_bo->base.resv, ticket); in ttm_mem_evict_wait_busy()
608 dma_resv_unlock(busy_bo->base.resv); in ttm_mem_evict_wait_busy()
619 struct ttm_buffer_object *bo = NULL, *busy_bo = NULL; in ttm_mem_evict_first() local
631 if (busy && !busy_bo && ticket != in ttm_mem_evict_first()
633 busy_bo = res->bo; in ttm_mem_evict_first()
646 if (busy_bo && !ttm_bo_get_unless_zero(busy_bo)) in ttm_mem_evict_first()
647 busy_bo = NULL; in ttm_mem_evict_first()
[all …]