Re: Object move & evict in new ttm

2009-03-17 Thread Jerome Glisse
On Tue, 17 Mar 2009 17:06:22 +0100 Thomas Hellström wrote: > Jerome Glisse wrote: > > Hi, > > > > Ask ttm to validate buffer from system to vram ttm call > > driver->bo_move with evict=false which i guess is right > > as the object will now be in GPU address space. So for > > the move i need to a

Re: Object move & evict in new ttm

2009-03-17 Thread Thomas Hellström
Jerome Glisse wrote: > Hi, > > Ask ttm to validate buffer from system to vram ttm call > driver->bo_move with evict=false which i guess is right > as the object will now be in GPU address space. So for > the move i need to allocate a temporary GTT space. Here > is what i do > > setup a tmp ttm_mem_

Object move & evict in new ttm

2009-03-17 Thread Jerome Glisse
Hi, Ask ttm to validate buffer from system to vram ttm call driver->bo_move with evict=false which i guess is right as the object will now be in GPU address space. So for the move i need to allocate a temporary GTT space. Here is what i do setup a tmp ttm_mem_reg with numpages=bo numpages call tt