Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.c114 if (ctx->mem_size_left < size) { in vmw_validation_mem_alloc()
131 ctx->mem_size_left = PAGE_SIZE; in vmw_validation_mem_alloc()
134 addr = (void *) (ctx->page_address + (PAGE_SIZE - ctx->mem_size_left)); in vmw_validation_mem_alloc()
135 ctx->mem_size_left -= size; in vmw_validation_mem_alloc()
157 ctx->mem_size_left = 0; in vmw_validation_mem_free()
808 ctx->mem_size_left += size; in vmw_validation_preload_bo()
833 ctx->mem_size_left += size; in vmw_validation_preload_res()
H A Dvmwgfx_validation.h69 unsigned int mem_size_left; member
100 .mem_size_left = 0, \