[PATCH] Mapping snooped user pages into the GTT

2011-01-12 Thread april
Dear Chris: what do u mean " blit between snooped and unsnooped memory"? It seems you want to map user-space pixmap to GTT space, and use 2d copy to do upload/download? TTM can map user space memory to GTT aperture by using "ttm_bo_type_user", but no dirver use it yet.?? Thanks 2011/1/8 Chris

[PATCH] Mapping snooped user pages into the GTT

2011-01-12 Thread Chris Wilson
On Wed, 12 Jan 2011 15:40:33 +0800, april wrote: > Dear Chris: > > what do u mean " blit between snooped and unsnooped memory"? > It seems you want to map user-space pixmap to GTT space, and use 2d > copy to do upload/download? Yes, and sample from snooped memory for some operations. > TTM can

Re: [PATCH] Mapping snooped user pages into the GTT

2011-01-12 Thread Chris Wilson
On Wed, 12 Jan 2011 15:40:33 +0800, april wrote: > Dear Chris: > > what do u mean " blit between snooped and unsnooped memory"? > It seems you want to map user-space pixmap to GTT space, and use 2d > copy to do upload/download? Yes, and sample from snooped memory for some operations. > TTM ca

Re: [PATCH] Mapping snooped user pages into the GTT

2011-01-11 Thread april
Dear Chris: what do u mean " blit between snooped and unsnooped memory"? It seems you want to map user-space pixmap to GTT space, and use 2d copy to do upload/download? TTM can map user space memory to GTT aperture by using "ttm_bo_type_user", but no dirver use it yet.?? Thanks 2011/1/8 Chris

Re: [PATCH] Mapping snooped user pages into the GTT

2011-01-08 Thread Dave Airlie
On Sat, Jan 8, 2011 at 2:07 AM, Chris Wilson wrote: > I've been looking at how we can improve upload/download performance on our > UMA gfx. One under-used aspect of the IGP is its ability to blit between > snooped-and-unsnooped memory i.e. from normal ram into the GTT. Only the > BLT has this abil

[PATCH] Mapping snooped user pages into the GTT

2011-01-08 Thread Dave Airlie
On Sat, Jan 8, 2011 at 2:07 AM, Chris Wilson wrote: > I've been looking at how we can improve upload/download performance on our > UMA gfx. One under-used aspect of the IGP is its ability to blit between > snooped-and-unsnooped memory i.e. from normal ram into the GTT. Only the > BLT has this abi

[PATCH] Mapping snooped user pages into the GTT

2011-01-07 Thread Chris Wilson
I've been looking at how we can improve upload/download performance on our UMA gfx. One under-used aspect of the IGP is its ability to blit between snooped-and-unsnooped memory i.e. from normal ram into the GTT. Only the BLT has this ability, almost all other functions of the GPU most be from unsno

[PATCH] Mapping snooped user pages into the GTT

2011-01-07 Thread Chris Wilson
I've been looking at how we can improve upload/download performance on our UMA gfx. One under-used aspect of the IGP is its ability to blit between snooped-and-unsnooped memory i.e. from normal ram into the GTT. Only the BLT has this ability, almost all other functions of the GPU most be from unsno