Home
last modified time | relevance | path

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

/linux-6.1.9/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()
844 ctx->mem_size_left += size; in vmw_validation_preload_bo()
869 ctx->mem_size_left += size; in vmw_validation_preload_res()
Dvmwgfx_validation.h69 unsigned int mem_size_left; member
100 .mem_size_left = 0, \