[Mesa-dev] [PATCH 3/4] i965: Use async maps for BufferSubData to regions with no valid data.

Chris Wilson chris at chris-wilson.co.uk
Thu Jul 13 23:29:08 UTC 2017


Quoting Chris Wilson (2017-06-13 12:57:05)
> Quoting Kenneth Graunke (2017-06-13 01:33:31)
> > When writing a region of a buffer via glBufferSubData(), we can write
> > the data asynchronously if the destination doesn't contain any data.
> > Even if it's busy, the data was undefined, so the new data is fine too.
> > 
> > Decreases the number of stall avoidance blits in Manhattan 3.1:
> > - Skylake GT4: -18.3544% +/- 6.76483% (n=13)
> > - Apollolake:  -12.1095% +/- 5.24458% (n=13)
> 
> Makes sense, but MAP_ASYNC is currently disabled on apl.

Did you confirm this improvement after fixing MAP_ASYNC?
-Chris


More information about the mesa-dev mailing list