i965: Use unsynchronized mappings for BufferSubData on non-LLC
authorMatt Turner <mattst88@gmail.com>
Mon, 5 Jun 2017 16:54:06 +0000 (09:54 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 6 Jun 2017 18:47:47 +0000 (11:47 -0700)
commite0a9b261e5938e121304ba3bde4423bee3496752
treeaa8d23ff82ae284f860491a57db7079be3a75cc2
parenta16355d67d92c0233c2b1762d517238d562dcc04
i965: Use unsynchronized mappings for BufferSubData on non-LLC

Now that unsynchronized maps actually work, we can use them, like we do
on LLC platforms.

On Broxton, the performance of Unigine Valley 1.1-rc1 is improved by
37.6656% +/- 0.401389% (n=20) at 1280x720/QUALITY_LOW, and by
20.862% +/- 2.20901% (n=3) at 1920x1080/QUALITY_LOW.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_buffer_objects.c