Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_vamgr.c70 uint64_t alignment, uint64_t base_required) in amdgpu_vamgr_find_va() argument
78 if (base_required % alignment) in amdgpu_vamgr_find_va()
85 if (base_required) { in amdgpu_vamgr_find_va()
86 if(hole->offset > base_required || in amdgpu_vamgr_find_va()
87 (hole->offset + hole->size) < (base_required + size)) in amdgpu_vamgr_find_va()
89 waste = base_required - hole->offset; in amdgpu_vamgr_find_va()
90 offset = base_required; in amdgpu_vamgr_find_va()
126 if (base_required) { in amdgpu_vamgr_find_va()
127 if (base_required < mgr->va_offset) { in amdgpu_vamgr_find_va()
132 waste = base_required - mgr->va_offset; in amdgpu_vamgr_find_va()
Damdgpu_internal.h131 uint64_t alignment, uint64_t base_required);