Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.c111 if (ctx->mem_size_left < size) { in vmw_validation_mem_alloc()
118 ctx->mem_size_left = PAGE_SIZE; in vmw_validation_mem_alloc()
121 addr = (void *) (ctx->page_address + (PAGE_SIZE - ctx->mem_size_left)); in vmw_validation_mem_alloc()
122 ctx->mem_size_left -= size; in vmw_validation_mem_alloc()
144 ctx->mem_size_left = 0; in vmw_validation_mem_free()
791 ctx->mem_size_left += size; in vmw_validation_preload_bo()
816 ctx->mem_size_left += size; in vmw_validation_preload_res()
Dvmwgfx_validation.h65 unsigned int mem_size_left; member
93 .mem_size_left = 0, \