Re: Move bo from VRAM to SYSTEM when you need to go through TT

2009-04-21 Thread Thomas Hellstrom
Jerome Glisse wrote: > On Tue, 2009-04-21 at 14:42 +0200, Thomas Hellstrom wrote: > >> Jerome Glisse wrote: >> >>> Hi Thomas, >>> >>> I am not sure of the correct solution for moving a bo from >>> VRAM to SYSTEM when you need to go through TT, here are >>> solution i thought of and why they

Re: Move bo from VRAM to SYSTEM when you need to go through TT

2009-04-21 Thread Jerome Glisse
On Tue, 2009-04-21 at 14:42 +0200, Thomas Hellstrom wrote: > Jerome Glisse wrote: > > Hi Thomas, > > > > I am not sure of the correct solution for moving a bo from > > VRAM to SYSTEM when you need to go through TT, here are > > solution i thought of and why they are wrong: > > > > (in driver callba

Re: Move bo from VRAM to SYSTEM when you need to go through TT

2009-04-21 Thread Thomas Hellstrom
Jerome Glisse wrote: > Hi Thomas, > > I am not sure of the correct solution for moving a bo from > VRAM to SYSTEM when you need to go through TT, here are > solution i thought of and why they are wrong: > > (in driver callback move i get bo & newmem with bo being > in vram and newmem being SYSTEM)

Move bo from VRAM to SYSTEM when you need to go through TT

2009-04-21 Thread Jerome Glisse
Hi Thomas, I am not sure of the correct solution for moving a bo from VRAM to SYSTEM when you need to go through TT, here are solution i thought of and why they are wrong: (in driver callback move i get bo & newmem with bo being in vram and newmem being SYSTEM) 1) ttm_bo_move_buffer(bo, TT, ...)