Name

drm_mm_init — initialize a drm-mm allocator

Synopsis

void drm_mm_init (struct drm_mm * mm,
 u64 start,
 u64 size);
 

Arguments

mm

the drm_mm structure to initialize

start

start of the range managed by mm

size

end of the range managed by mm

Description

Note that mm must be cleared to 0 before calling this function.