drm_mm_insert_node —
search for space and insert node
int drm_mm_insert_node ( | struct drm_mm * mm, |
| struct drm_mm_node * node, | |
| u64 size, | |
| unsigned alignment, | |
enum drm_mm_search_flags flags); |
mmdrm_mm to allocate from
nodepreallocate node to insert
sizesize of the allocation
alignmentalignment of the allocation
flagsflags to fine-tune the allocation