From: Dave A. <ai...@li...> - 2006-05-29 23:37:35
|
> Both i915 and radeon memory managers could probably be moved over to the new > code, but then only using the functionality in drm_mm.c and not drm_sman.c. > I'll have a look. However, I'd rather focus on getting the ttm branch in a > usable state and start moving drivers over to that functionality, eventually > obsoleting the code in drm_sman.c. > > What's left in the ttm branch is to properly implement fence objects and a > scheme to handle small allocations more efficiently. The latter is a bit > tricky. On the drm_hashtab.c, you might consider using a hlist instead of a list, * Double linked lists with a single pointer list head. * Mostly useful for hash tables where the two pointer list head is * too wasteful. >From list.h, Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG |