drm: Memory fragmentation from lost alignment blocks
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 May 2009 13:14:22 +0000 (14:14 +0100)
committerDave Airlie <airlied@redhat.com>
Sun, 14 Jun 2009 23:35:33 +0000 (09:35 +1000)
commite6c03c5b40314d787f7053f631594d6b1bd609e8
tree78812c9e3bd28996817b5653e024915cb794b325
parent602c11a8ee62d49cddbc5972e5edb876dd415113
drm: Memory fragmentation from lost alignment blocks

If the block needs an alignment but otherwise fits exactly into the tail,
then the split-off block from the start would remain marked as non-free.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_mm.c