---
name: "drm_mm_init"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_mm_init"
---

# drm\_mm\_init(9)

initialize a drm-mm allocator

## NAME

drm\_mm\_init - initialize a drm-mm allocator

## SYNOPSIS

**void drm\_mm\_init(struct drm\_mm \*** *mm***, unsigned long** *start***, unsigned long** *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.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
