Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c330 uint32_t best_num_pages; in sparse_backing_alloc() local
334 best_num_pages = 0; in sparse_backing_alloc()
340 if ((best_num_pages < *pnum_pages && cur_num_pages > best_num_pages) || in sparse_backing_alloc()
341 (best_num_pages > *pnum_pages && cur_num_pages < best_num_pages)) { in sparse_backing_alloc()
344 best_num_pages = cur_num_pages; in sparse_backing_alloc()
394 best_num_pages = pages; in sparse_backing_alloc()
397 *pnum_pages = MIN2(*pnum_pages, best_num_pages); in sparse_backing_alloc()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c901 uint32_t best_num_pages; in sparse_backing_alloc() local
905 best_num_pages = 0; in sparse_backing_alloc()
911 if ((best_num_pages < *pnum_pages && cur_num_pages > best_num_pages) || in sparse_backing_alloc()
912 (best_num_pages > *pnum_pages && cur_num_pages < best_num_pages)) { in sparse_backing_alloc()
915 best_num_pages = cur_num_pages; in sparse_backing_alloc()
970 best_num_pages = pages; in sparse_backing_alloc()
973 *pnum_pages = MIN2(*pnum_pages, best_num_pages); in sparse_backing_alloc()