other versions
- jessie 3.16.56-1+deb8u1
DRM_MM_INSERT_NODE_I(9) | DRM Core | DRM_MM_INSERT_NODE_I(9) |
NAME¶
drm_mm_insert_node_in_range - ranged search for space and insert nodeSYNOPSIS¶
int
drm_mm_insert_node_in_range(struct drm_mm * mm,
struct drm_mm_node * node,
unsigned long size,
unsigned alignment,
unsigned long start,
unsigned long end,
enum drm_mm_search_flags flags);
ARGUMENTS¶
mmdrm_mm to allocate from
node
preallocate node to insert
size
size of the allocation
alignment
alignment of the allocation
start
start of the allowed range for this node
end
end of the allowed range for this node
flags
flags to fine-tune the allocation
DESCRIPTION¶
This is a simplified version of drm_mm_insert_node_in_range_generic with color set to 0. The preallocated node must be cleared to 0.RETURNS¶
0 on success, -ENOSPC if there's no suitable hole.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |