Searched refs:evict_mem (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 359 struct ttm_resource *evict_mem; in ttm_bo_evict() local 383 ret = ttm_bo_mem_space(bo, &placement, &evict_mem, ctx); in ttm_bo_evict() 394 ret = ttm_bo_handle_move_mem(bo, evict_mem, true, ctx, &hop); in ttm_bo_evict() 402 ttm_resource_free(bo, &evict_mem); in ttm_bo_evict() 1104 struct ttm_resource *evict_mem; in ttm_bo_swapout_cb() local 1109 ret = ttm_resource_alloc(bo, &place, &evict_mem); in ttm_bo_swapout_cb() 1113 ret = ttm_bo_handle_move_mem(bo, evict_mem, true, ctx, &hop); in ttm_bo_swapout_cb() 1117 ttm_resource_free(bo, &evict_mem); in ttm_bo_swapout_cb()
|