carta
drm_mm_insert_node_generic(9)

drm_mm_insert_node_generic9

Search for space and insert node

Arguments

mm

drm_mm to allocate from

node

preallocate node to insert

size

size of the allocation

alignment

alignment of the allocation

color

opaque tag value to use for this node

sflags

flags to fine-tune the allocation search

aflags

flags to fine-tune the allocation behavior

Overview

The preallocated node must be cleared to 0.

Returns

0 on success, -ENOSPC if there's no suitable hole.

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.