]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm: update core memory manager from git drm tree
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Mon, 8 Jan 2007 11:25:47 +0000 (22:25 +1100)
committerDave Airlie <airlied@linux.ie>
Thu, 8 Feb 2007 02:24:26 +0000 (13:24 +1100)
commit1d58420bad15d08f93bf1e0342c1b1d1234d69b7
tree0894a496155dd8cda01427fce9f5351f1981d7ea
parent004a7727421fd202bbdfcc0231a3359085199a52
drm: update core memory manager from git drm tree

Remove the memory manager parameter from the put_block function, as this
makes the client code a lot cleaner. Prepare buffer manager for lock and
unlock calls.
Fix buggy aligned allocations.
Remove the stupid root_node field from the core memory manager.
Support multi-page buffer offset alignments
Add improved alignment functionality to the core memory manager.
This makes an allocated block actually align itself and returns any
wasted space to the manager.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drmP.h
drivers/char/drm/drm_mm.c
drivers/char/drm/drm_sman.c