Re: TTM object zeroing for VRAM

2008-09-10 Thread Thomas Hellström
Dave Airlie wrote: > >> 3) The ttm_bo vm code will still be closely tied to the ttm_bo object, but >> needs to be moved out from the drm core. >> The plan is to have separate ttm_mmap() ttm_read() and ttm_write() >> functionality for the driver to use in the .fops hooks. >> If any of these function

Re: TTM object zeroing for VRAM

2008-09-10 Thread Dave Airlie
On Wed, Sep 10, 2008 at 8:03 PM, Thomas Hellström <[EMAIL PROTECTED]> wrote: > Dave Airlie wrote: >> >> Hi Thomas, >> >> I've made some changes you might be interested in on the >> modesetting-gem branch of the main repo. >> >> 1. removed all the TTM interfaces and ioctls from the kernel API. >> 2.

Re: TTM object zeroing for VRAM

2008-09-10 Thread Thomas Hellström
Dave Airlie wrote: > Hi Thomas, > > I've made some changes you might be interested in on the > modesetting-gem branch of the main repo. > > 1. removed all the TTM interfaces and ioctls from the kernel API. > 2. removed drm_bo_lock.c (we need to discuss what we want that for) > 3. built a radeon GEM

Re: TTM object zeroing for VRAM

2008-08-27 Thread Dave Airlie
On Wed, Aug 27, 2008 at 11:45 PM, Jerome Glisse <[EMAIL PROTECTED]> wrote: > On Tue, 26 Aug 2008 18:02:24 +1000 > "Dave Airlie" <[EMAIL PROTECTED]> wrote: > >> 4. added clean flag for buffers that get migrated to VRAM immediately. >>- with pixmaps we have no idea of the usage pattern usually at

Re: TTM object zeroing for VRAM

2008-08-27 Thread Jerome Glisse
On Tue, 26 Aug 2008 18:02:24 +1000 "Dave Airlie" <[EMAIL PROTECTED]> wrote: > 4. added clean flag for buffers that get migrated to VRAM immediately. >- with pixmaps we have no idea of the usage pattern usually at create time, > however if nothing has ever mapped the bo and nothing has eve

Re: TTM object zeroing for VRAM

2008-08-26 Thread Jerome Glisse
On Tue, 26 Aug 2008 11:43:03 +0200 Thomas Hellström <[EMAIL PROTECTED]> wrote: > Dave, > This all sounds good. > > The drm_bo_lock.c is intended to replace the drm hardware lock on VT > switches when the X server wants to clean > all memory for release to a legacy fbdev driver. It will block all

Re: TTM object zeroing for VRAM

2008-08-26 Thread Thomas Hellström
Dave Airlie wrote: > Hi Thomas, > > I've made some changes you might be interested in on the > modesetting-gem branch of the main repo. > > 1. removed all the TTM interfaces and ioctls from the kernel API. > 2. removed drm_bo_lock.c (we need to discuss what we want that for) > 3. built a radeon GEM