Hi, So here is a patch which convert bo_init to use struct ttm_placement rather than flag. It allow the driver to give placement preference on where to create a bo. Also allow to create a bo at specific range which is i believe somethings nouveau would like to see :)
Aside from the change i renamed ttm_buffer_object_init|validate to ttm_bo_init|validate this is shorter but also more consistent with others functions naming. For consistency i would like to rename struct ttm_buffer_object to struct ttm_bo but this lead to massive regular expression abuse for everyone using ttm so before proposing a patch let me know if you like or not this. I haven't strong feeling on that except that this would allow to stay in the 80 line lenght in some place. Cheers, Jerome ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
