[RFC] ttm merge ttm_backend & ttm_tt

2011-11-02 Thread Konrad Rzeszutek Wilk
> > I don't know why it was done that way, but I wrote the TTM DMA code > > to be optimized for that (and it has the code to reverse direction - b/c > > the testcases I used initially had the a,b,c,d,e,f order when doing > > get_pages > > and put_pages) - but I can alter the code to do it in the f

[RFC] ttm merge ttm_backend & ttm_tt

2011-11-02 Thread Jerome Glisse
On Wed, Nov 02, 2011 at 11:04:43AM -0400, Konrad Rzeszutek Wilk wrote: > On Tue, Nov 01, 2011 at 09:11:37PM -0400, Jerome Glisse wrote: > > Hi, > > > > So attached is patch serie (sorry for that i am away of my normal mail > > config) which ultimately merge ttm_backend & ttm_tt it allows to get >

[RFC] ttm merge ttm_backend & ttm_tt

2011-11-02 Thread Konrad Rzeszutek Wilk
On Tue, Nov 01, 2011 at 09:11:37PM -0400, Jerome Glisse wrote: > Hi, > > So attached is patch serie (sorry for that i am away of my normal mail > config) which ultimately merge ttm_backend & ttm_tt it allows to get > rid of data duplication btw the two, especialy btw ttm_tt and driver > specific b

Re: [RFC] ttm merge ttm_backend & ttm_tt

2011-11-02 Thread Konrad Rzeszutek Wilk
> > I don't know why it was done that way, but I wrote the TTM DMA code > > to be optimized for that (and it has the code to reverse direction - b/c > > the testcases I used initially had the a,b,c,d,e,f order when doing > > get_pages > > and put_pages) - but I can alter the code to do it in the f

Re: [RFC] ttm merge ttm_backend & ttm_tt

2011-11-02 Thread Jerome Glisse
On Wed, Nov 02, 2011 at 11:04:43AM -0400, Konrad Rzeszutek Wilk wrote: > On Tue, Nov 01, 2011 at 09:11:37PM -0400, Jerome Glisse wrote: > > Hi, > > > > So attached is patch serie (sorry for that i am away of my normal mail > > config) which ultimately merge ttm_backend & ttm_tt it allows to get >

Re: [RFC] ttm merge ttm_backend & ttm_tt

2011-11-02 Thread Konrad Rzeszutek Wilk
On Tue, Nov 01, 2011 at 09:11:37PM -0400, Jerome Glisse wrote: > Hi, > > So attached is patch serie (sorry for that i am away of my normal mail > config) which ultimately merge ttm_backend & ttm_tt it allows to get > rid of data duplication btw the two, especialy btw ttm_tt and driver > specific b

[RFC] ttm merge ttm_backend & ttm_tt

2011-11-02 Thread Thomas Hellstrom
On 11/02/2011 02:11 AM, Jerome Glisse wrote: > Hi, > > So attached is patch serie (sorry for that i am away of my normal mail > config) which ultimately merge ttm_backend& ttm_tt it allows to get > rid of data duplication btw the two, especialy btw ttm_tt and driver > specific backend. So net resu

[RFC] ttm merge ttm_backend & ttm_tt

2011-11-02 Thread Konrad Rzeszutek Wilk
On Tue, Nov 01, 2011 at 11:05:49PM -0400, Jerome Glisse wrote: > On Tue, Nov 1, 2011 at 9:29 PM, Konrad Rzeszutek Wilk > wrote: > > On Tue, Nov 01, 2011 at 09:11:37PM -0400, Jerome Glisse wrote: > >> Hi, > >> > >> So attached is patch serie (sorry for that i am away of my normal mail > >> config)

Re: [RFC] ttm merge ttm_backend & ttm_tt

2011-11-01 Thread Thomas Hellstrom
On 11/02/2011 02:11 AM, Jerome Glisse wrote: Hi, So attached is patch serie (sorry for that i am away of my normal mail config) which ultimately merge ttm_backend& ttm_tt it allows to get rid of data duplication btw the two, especialy btw ttm_tt and driver specific backend. So net result is les

[RFC] ttm merge ttm_backend & ttm_tt

2011-11-01 Thread Jerome Glisse
On Tue, Nov 1, 2011 at 9:29 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Nov 01, 2011 at 09:11:37PM -0400, Jerome Glisse wrote: >> Hi, >> >> So attached is patch serie (sorry for that i am away of my normal mail >> config) which ultimately merge ttm_backend & ttm_tt it allows to get >> rid of data d

[RFC] ttm merge ttm_backend & ttm_tt

2011-11-01 Thread Konrad Rzeszutek Wilk
On Tue, Nov 01, 2011 at 09:11:37PM -0400, Jerome Glisse wrote: > Hi, > > So attached is patch serie (sorry for that i am away of my normal mail > config) which ultimately merge ttm_backend & ttm_tt it allows to get > rid of data duplication btw the two, especialy btw ttm_tt and driver > specific b

Re: [RFC] ttm merge ttm_backend & ttm_tt

2011-11-01 Thread Konrad Rzeszutek Wilk
On Tue, Nov 01, 2011 at 11:05:49PM -0400, Jerome Glisse wrote: > On Tue, Nov 1, 2011 at 9:29 PM, Konrad Rzeszutek Wilk > wrote: > > On Tue, Nov 01, 2011 at 09:11:37PM -0400, Jerome Glisse wrote: > >> Hi, > >> > >> So attached is patch serie (sorry for that i am away of my normal mail > >> config)

[RFC] ttm merge ttm_backend & ttm_tt

2011-11-01 Thread Jerome Glisse
Hi, So attached is patch serie (sorry for that i am away of my normal mail config) which ultimately merge ttm_backend & ttm_tt it allows to get rid of data duplication btw the two, especialy btw ttm_tt and driver specific backend. So net result is less 300lines of code accross ttm and driver. Kon

Re: [RFC] ttm merge ttm_backend & ttm_tt

2011-11-01 Thread Jerome Glisse
On Tue, Nov 1, 2011 at 9:29 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Nov 01, 2011 at 09:11:37PM -0400, Jerome Glisse wrote: >> Hi, >> >> So attached is patch serie (sorry for that i am away of my normal mail >> config) which ultimately merge ttm_backend & ttm_tt it allows to get >> rid of data d

Re: [RFC] ttm merge ttm_backend & ttm_tt

2011-11-01 Thread Konrad Rzeszutek Wilk
On Tue, Nov 01, 2011 at 09:11:37PM -0400, Jerome Glisse wrote: > Hi, > > So attached is patch serie (sorry for that i am away of my normal mail > config) which ultimately merge ttm_backend & ttm_tt it allows to get > rid of data duplication btw the two, especialy btw ttm_tt and driver > specific b