Searched refs:ZINK_SPARSE_BUFFER_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance
367 …assert(bo->u.sparse.num_backing_pages < DIV_ROUND_UP(bo->base.size, ZINK_SPARSE_BUFFER_PAGE_SIZE)); in sparse_backing_alloc()371 … bo->base.size - (uint64_t)bo->u.sparse.num_backing_pages * ZINK_SPARSE_BUFFER_PAGE_SIZE); in sparse_backing_alloc()372 size = MAX2(size, ZINK_SPARSE_BUFFER_PAGE_SIZE); in sparse_backing_alloc()374 buf = zink_bo_create(screen, size, ZINK_SPARSE_BUFFER_PAGE_SIZE, in sparse_backing_alloc()383 pages = buf->size / ZINK_SPARSE_BUFFER_PAGE_SIZE; in sparse_backing_alloc()414 bo->u.sparse.num_backing_pages -= backing->bo->base.size / ZINK_SPARSE_BUFFER_PAGE_SIZE; in sparse_free_backing_buffer()481 backing->chunks[0].end == backing->bo->base.size / ZINK_SPARSE_BUFFER_PAGE_SIZE) in sparse_backing_free()520 if (size > (uint64_t)INT32_MAX * ZINK_SPARSE_BUFFER_PAGE_SIZE) in bo_sparse_create()529 bo->base.alignment_log2 = util_logbase2(ZINK_SPARSE_BUFFER_PAGE_SIZE); in bo_sparse_create()536 bo->u.sparse.num_va_pages = DIV_ROUND_UP(size, ZINK_SPARSE_BUFFER_PAGE_SIZE); in bo_sparse_create()[all …]
63 #define ZINK_SPARSE_BUFFER_PAGE_SIZE (64 * 1024) macro
733 return screen->info.feats.features.sparseBinding ? ZINK_SPARSE_BUFFER_PAGE_SIZE : 0; in zink_get_param()