Dave Airlie wrote:
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.

  
Thanks, Dave.
I'll have a look.

/Thomas

--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to