Re: [RFC] TTM change buffer_object_init to use ttm_placement rather than flag

2009-12-11 Thread Jerome Glisse
On Thu, Dec 10, 2009 at 08:51:07PM +0100, Thomas Hellstrom wrote: Jerome Glisse wrote: 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

[RFC] TTM change buffer_object_init to use ttm_placement rather than flag

2009-12-10 Thread Jerome Glisse
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

Re: [RFC] TTM change buffer_object_init to use ttm_placement rather than flag

2009-12-10 Thread Thomas Hellstrom
Jerome Glisse wrote: 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 :)

Re: [RFC] TTM change buffer_object_init to use ttm_placement rather than flag

2009-12-10 Thread Dave Airlie
On Fri, Dec 11, 2009 at 5:51 AM, Thomas Hellstrom tho...@shipmail.org wrote: Jerome Glisse wrote: 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