Hi Thomas,

It seems my path for bo move from system to vram is completely
wrong, i really have hard time to understand this bo move it
looks way more complicated than it should be. Here is what i
do.

tmp_mem = *old_mem;
tmp_mem.mm_node = NULL;
tmp_mem.proposed_flags = TTM_PL_FLAG_TT | TTM_PL_MASK_CACHING;
r = ttm_bo_mem_space(bo, &tmp_mem, interruptible, no_wait);
r = ttm_bo_move_ttm(bo, true, no_wait, &tmp_mem);
r = radeon_move_blit(bo, true, no_wait, new_mem, old_mem);
accel_cleanup

So now on resume i get a bind of 0 pages because
bo->ttm.state != unpopulated. Before resume this path seems
to work fine.

Am i doing somethings wrong ?

Cheers,
Jerome Glisse



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to