[RFC] ttm merge ttm_backend & ttm_tt

Konrad Rzeszutek Wilk konrad.wilk at oracle.com
Tue Nov 1 18:29:42 PDT 2011


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 backend. So net result is less 300lines of code accross ttm
> and driver.
> 
> Konrad given some of the upstream nouveau change, your patchserie
> conflict and would lead to revert some nouveau fixes. I believe the
> intention is to get the ttm-dma code into 3.3 (3.2 seems late but
> dunno). If 3.3 is the aim than i will rebase your patch on top of this

Yup. 3.3.
> serie, this should lower the number of change your serie needed.

OK.
> 
> Note that this is early code, only compile tested, i just wanted to
> get feedback to know if anyone has objection on that.

Let me take a look then at them tomorrow.
> 
> For quick review, first 5 patches can be ignored, they are cleanup and
> dead code removal or small fixes. The real action is in the last
> patch.
> 
> Next set is to move page allocation through ttm_helper into the driver
> thus making the whole dma stuff a driver business, driver who don't
> care about dma (like vmw) could ignore it, while driver that have to
> would deal with it through ttm_helper.
> 
> Cheers,
> Jerome









More information about the dri-devel mailing list