Re: Changing cache status while validating object

2009-07-30 Thread Jerome Glisse
On Wed, 2009-07-29 at 21:53 +0200, Thomas Hellström wrote: > Jerome Glisse skrev: > > Hi Thomas, > > > > I think ttm is doing somethings wrong when we validate a bo for the > > same mem type but with different cache flags. Here is my understanding : > > > > (Use case i am refering too is object val

Re: Changing cache status while validating object

2009-07-29 Thread Thomas Hellström
Jerome Glisse skrev: > Hi Thomas, > > I think ttm is doing somethings wrong when we validate a bo for the > same mem type but with different cache flags. Here is my understanding : > > (Use case i am refering too is object validate with > current state GTT | CACHED validate to GTT | WC) > > if (!tt

Changing cache status while validating object

2009-07-29 Thread Jerome Glisse
Hi Thomas, I think ttm is doing somethings wrong when we validate a bo for the same mem type but with different cache flags. Here is my understanding : (Use case i am refering too is object validate with current state GTT | CACHED validate to GTT | WC) if (!ttm_bo_mem_compat(bo->proposed_placeme