Home
last modified time | relevance | path

Searched refs:num_backing_pages (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.h86 uint32_t num_backing_pages; member
Damdgpu_bo.c956 assert(bo->u.sparse.num_backing_pages < DIV_ROUND_UP(bo->base.size, RADEON_SPARSE_PAGE_SIZE)); in sparse_backing_alloc()
960 … bo->base.size - (uint64_t)bo->u.sparse.num_backing_pages * RADEON_SPARSE_PAGE_SIZE); in sparse_backing_alloc()
985 bo->u.sparse.num_backing_pages += pages; in sparse_backing_alloc()
1008 bo->u.sparse.num_backing_pages -= backing->bo->base.size / RADEON_SPARSE_PAGE_SIZE; in sparse_free_backing_buffer()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c342 …assert(bo->u.sparse.num_backing_pages < DIV_ROUND_UP(bo->base.size, ZINK_SPARSE_BUFFER_PAGE_SIZE)); in sparse_backing_alloc()
346 … bo->base.size - (uint64_t)bo->u.sparse.num_backing_pages * ZINK_SPARSE_BUFFER_PAGE_SIZE); in sparse_backing_alloc()
366 bo->u.sparse.num_backing_pages += pages; in sparse_backing_alloc()
389 bo->u.sparse.num_backing_pages -= backing->bo->base.size / ZINK_SPARSE_BUFFER_PAGE_SIZE; in sparse_free_backing_buffer()
Dzink_bo.h81 uint32_t num_backing_pages; member