On Mon, Nov 15, 2010 at 09:40:14PM +0100, Thomas Hellstrom wrote:
Hence I think that drivers with extremely specific needs should roll their own allocator. So I don't think we should anticipate different allocator algorithms. I see driver-specific stuff more in the area of clever eviction algorithms - i915 is currently at 5 lru's for gtt mapped bos, and we're still adding.
Yes, I agree. My point was merely that one should think twice before embedding drm_mm objects in generic buffer objects intended also for drivers with special needs.
Ok, I see. Looks like I've slightly shot over the mark here ;-) As I've said, I don't have any immediate plans to create havoc in ttm. And if I start doing so, I'll do it in (hopefully) incrementally useful steps.
Thanks, Thomas
Thanks, Daniel