SYNOPSIS
- void drm_mm_init_scan_with_range(struct drm_mm * mm, u64 size, unsigned alignment, unsigned long color, u64 start, u64 end);
ARGUMENTS
mm
-
- drm_mm to scan
size
- size of the allocation
alignment
- alignment of the allocation
color
- opaque tag value to use for the allocation
start
- start of the allowed range for the allocation
end
- end of the allowed range for the allocation
DESCRIPTION
This simply sets up the scanning routines with the parameters for the desired hole. Note that there's no need to specify allocation flags, since they only change the place a node is allocated from within a suitable hole.
WARNING
As long as the scan list is non-empty, no other operations than adding/removing nodes to/from the scan list are allowed.
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
Lukas Wunner <[email protected]>
- vga_switcheroo documentation
COPYRIGHT