Problems when try to alloc user bo using TTM

2011-02-24 Thread april
Hi all: TTM provide "ttm_bo_type_user" which create bo from user space memory. I try to use this functions, but find some problems: 1. Can not get "pages" when driver try to bind user pages to GPU apterure. ttm->state set to "tt_unbound" when add ttm structs, while ttm_tt_populate prevent drive

Problems when try to alloc user bo using TTM

2011-02-23 Thread april
Hi all: TTM provide "ttm_bo_type_user" which create bo from user space memory. I try to use this functions, but find some problems: 1. Can not get "pages" when driver try to bind user pages to GPU apterure. ttm->state set to "tt_unbound" when add ttm structs, while ttm_tt_populate prevent drive