Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/ttm/
H A Dttm_bo.c526 bool may_evict; in ttm_bo_alloc_at_place() local
529 may_evict = !alloc_state->in_evict && force_space && in ttm_bo_alloc_at_place()
545 alloc_state->may_try_low = may_evict; in ttm_bo_alloc_at_place()
547 ret = may_evict ? -EBUSY : -ENOSPC; in ttm_bo_alloc_at_place()
582 may_evict |= dmem_cgroup_below_min(NULL, alloc_state->charge_pool); in ttm_bo_alloc_at_place()
583 alloc_state->may_try_low = may_evict; in ttm_bo_alloc_at_place()
585 may_evict |= dmem_cgroup_below_low(NULL, alloc_state->charge_pool); in ttm_bo_alloc_at_place()
590 if (ret == -ENOSPC && may_evict) in ttm_bo_alloc_at_place()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource_priv.h89 bool may_evict; member
H A Dvmwgfx_va.c85 .may_evict = false,
H A Dvmwgfx_context.c77 .may_evict = false,
90 .may_evict = true,
105 .may_evict = true,
H A Dvmwgfx_resource.c495 if (!res->func->may_evict || res->id == -1 || res->pin_count) in vmw_resource_unreserve()
641 BUG_ON(!func->may_evict); in vmw_resource_do_evict()
704 if (list_empty(lru_list) || !res->func->may_evict) { in vmw_resource_validate()
H A Dvmwgfx_streamoutput.c67 .may_evict = false,
H A Dvmwgfx_shader.c95 .may_evict = true,
110 .may_evict = true,
H A Dvmwgfx_so.c86 .may_evict = false,
H A Dvmwgfx_cotable.c135 .may_evict = true,
H A Dvmwgfx_surface.c109 .may_evict = true,
124 .may_evict = true,