Re: ttm bo interface..

2008-04-05 Thread Thomas Hellström
Jesse Barnes wrote: > On Friday, April 04, 2008 11:14 am Thomas Hellström wrote: > >> Dave Airlie wrote: >> >>> I'm just wondering if rather than specify all the CACHED and MAPPABLE and >>> SHAREABLE flags we make the BO interface in terms of CPU and GPU >>> operations.. >>> >>> So we defin

Re: ttm bo interface..

2008-04-04 Thread Jesse Barnes
On Friday, April 04, 2008 11:14 am Thomas Hellström wrote: > Dave Airlie wrote: > > I'm just wondering if rather than specify all the CACHED and MAPPABLE and > > SHAREABLE flags we make the BO interface in terms of CPU and GPU > > operations.. > > > > So we define > > CPU_READ - cpu needs to read

Re: ttm bo interface..

2008-04-04 Thread Thomas Hellström
Dave Airlie wrote: > I'm just wondering if rather than specify all the CACHED and MAPPABLE and > SHAREABLE flags we make the BO interface in terms of CPU and GPU > operations.. > > So we define > CPU_READ - cpu needs to read from this buffer > CPU_WRITE - cpu need to write to the buffer > CPU_PO

ttm bo interface..

2008-04-03 Thread Dave Airlie
I'm just wondering if rather than specify all the CACHED and MAPPABLE and SHAREABLE flags we make the BO interface in terms of CPU and GPU operations.. So we define CPU_READ - cpu needs to read from this buffer CPU_WRITE - cpu need to write to the buffer CPU_POOL - cpu wants to use the buffer