[PATCH 4/9] drm: mm: add api for embedding struct drm_mm_node

2010-11-12 Thread Daniel Vetter
The old api has a two-step process: First search for a suitable free hole, then allocate from that specific hole. No user used this to do anything clever. So drop it. With struct drm_mm_node embedded, we cannot track allocations anymore by checking for a NULL pointer. So keep track of this and add

[PATCH 4/9] drm: mm: add api for embedding struct drm_mm_node

2010-11-12 Thread Daniel Vetter
The old api has a two-step process: First search for a suitable free hole, then allocate from that specific hole. No user used this to do anything clever. So drop it. With struct drm_mm_node embedded, we cannot track allocations anymore by checking for a NULL pointer. So keep track of this and add