Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.c112 if (ctx->mem_size_left < size) { in vmw_validation_mem_alloc()
134 ctx->mem_size_left = PAGE_SIZE; in vmw_validation_mem_alloc()
137 addr = (void *) (ctx->page_address + (PAGE_SIZE - ctx->mem_size_left)); in vmw_validation_mem_alloc()
138 ctx->mem_size_left -= size; in vmw_validation_mem_alloc()
160 ctx->mem_size_left = 0; in vmw_validation_mem_free()
848 ctx->mem_size_left += size; in vmw_validation_preload_bo()
873 ctx->mem_size_left += size; in vmw_validation_preload_res()
Dvmwgfx_validation.h84 unsigned int mem_size_left; member
115 .mem_size_left = 0, \