Re: [Intel-gfx] [PATCH] intel: Add support for (possibly) unsynchronized maps.

2012-02-27 Thread Eric Anholt
On Sat, 25 Feb 2012 12:00:07 +0100, Daniel Vetter wrote: > On Fri, Feb 24, 2012 at 07:53:22PM -0800, Eric Anholt wrote: > > This improves the performance of Mesa's GL_MAP_UNSYNCHRONIZED_BIT path > > in GL_ARB_map_buffer_range. Improves Unigine Tropics performance at > > 1024x768 by 2.06236% +/- 0

Re: [Intel-gfx] [PATCH] intel: Add support for (possibly) unsynchronized maps.

2012-02-27 Thread Ben Widawsky
On Sun, 26 Feb 2012 12:28:09 -0800 Kenneth Graunke wrote: > On 02/25/2012 03:00 AM, Daniel Vetter wrote: > > On Fri, Feb 24, 2012 at 07:53:22PM -0800, Eric Anholt wrote: > >> This improves the performance of Mesa's GL_MAP_UNSYNCHRONIZED_BIT path > >> in GL_ARB_map_buffer_range. Improves Unigine

Re: [Intel-gfx] [PATCH] intel: Add support for (possibly) unsynchronized maps.

2012-02-26 Thread Kenneth Graunke
On 02/25/2012 03:00 AM, Daniel Vetter wrote: On Fri, Feb 24, 2012 at 07:53:22PM -0800, Eric Anholt wrote: This improves the performance of Mesa's GL_MAP_UNSYNCHRONIZED_BIT path in GL_ARB_map_buffer_range. Improves Unigine Tropics performance at 1024x768 by 2.06236% +/- 0.50272% (n=11). --- A

Re: [Intel-gfx] [PATCH] intel: Add support for (possibly) unsynchronized maps.

2012-02-25 Thread Chris Wilson
On Sat, 25 Feb 2012 12:00:07 +0100, Daniel Vetter wrote: > - in my pwrite experience, writing through cpu maps beats writing through > the gtt on llc machines. This has the added benefit that it reduces > pressure on the mappable gtt. Have you tried that, too? Speaking of which, those wonderf

Re: [Intel-gfx] [PATCH] intel: Add support for (possibly) unsynchronized maps.

2012-02-25 Thread Daniel Vetter
On Fri, Feb 24, 2012 at 07:53:22PM -0800, Eric Anholt wrote: > This improves the performance of Mesa's GL_MAP_UNSYNCHRONIZED_BIT path > in GL_ARB_map_buffer_range. Improves Unigine Tropics performance at > 1024x768 by 2.06236% +/- 0.50272% (n=11). > --- A few questions: - iirc Ben's non-blocking

Re: [Intel-gfx] [PATCH] intel: Add support for (possibly) unsynchronized maps.

2012-02-25 Thread Paul Menzel
Dear Eric, Am Freitag, den 24.02.2012, 19:53 -0800 schrieb Eric Anholt: […] > +/** > + * Performs a mapping of the buffer object like the normal GTT > + * mapping, but avoiding waiting for the GPU to be done reading from s/avoiding/avoids/? > + * or rendering to the buffer. > + * > + * This i

Re: [Intel-gfx] [PATCH] intel: Add support for (possibly) unsynchronized maps.

2012-02-25 Thread Chris Wilson
On Fri, 24 Feb 2012 19:53:22 -0800, Eric Anholt wrote: > This improves the performance of Mesa's GL_MAP_UNSYNCHRONIZED_BIT path > in GL_ARB_map_buffer_range. Improves Unigine Tropics performance at > 1024x768 by 2.06236% +/- 0.50272% (n=11). Oh well, weakly coherent wins. Reviewed-by: Chris Wils

[Intel-gfx] [PATCH] intel: Add support for (possibly) unsynchronized maps.

2012-02-24 Thread Eric Anholt
This improves the performance of Mesa's GL_MAP_UNSYNCHRONIZED_BIT path in GL_ARB_map_buffer_range. Improves Unigine Tropics performance at 1024x768 by 2.06236% +/- 0.50272% (n=11). --- intel/intel_bufmgr.h |2 + intel/intel_bufmgr_gem.c | 72 +