i965: Always use CPU mappings for BOs on LLC platforms.
authorEric Anholt <eric@anholt.net>
Thu, 27 Feb 2014 18:05:39 +0000 (10:05 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 14 Mar 2014 19:56:22 +0000 (12:56 -0700)
commit1990da2568a0da79c6011bd83e7f7fb8bb099827
treeb8449528cbc4ae5b0cd3ada62adb19ac1d1c2542
parentbb63df0c2d6e1236ea1efeb5b9500da4e1f8fa0d
i965: Always use CPU mappings for BOs on LLC platforms.

It looks like there's no big difference for write-only workloads, but
using a CPU map means that if they happen to read without having set the
MAP_READ_BIT, they get 100x the performance for those reads.

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