Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.c115 if (ctx->mem_size_left < size) { in vmw_validation_mem_alloc()
132 ctx->mem_size_left = PAGE_SIZE; in vmw_validation_mem_alloc()
135 addr = (void *) (ctx->page_address + (PAGE_SIZE - ctx->mem_size_left)); in vmw_validation_mem_alloc()
136 ctx->mem_size_left -= size; in vmw_validation_mem_alloc()
158 ctx->mem_size_left = 0; in vmw_validation_mem_free()
845 ctx->mem_size_left += size; in vmw_validation_preload_bo()
870 ctx->mem_size_left += size; in vmw_validation_preload_res()
Dvmwgfx_validation.h70 unsigned int mem_size_left; member
101 .mem_size_left = 0, \