i965: Prefer using streaming reads from WC mmaps
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 22 Jul 2017 09:28:14 +0000 (10:28 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Aug 2017 11:06:44 +0000 (12:06 +0100)
commitb4f639d02ae5fb54ab7f449c86c8bb602517455c
tree2607a6102317a967c727b1a6b300baa017202d0a
parent27ba094a4abe93c4a17f270d437b15195327f7e0
i965: Prefer using streaming reads from WC mmaps

For buffer objects, where we primarily expect to be writing to them and
so already have a WC mmap (for !llc access) reusing the existing mmap
and keeping the buffer out of the CPU cache seems preferable.

Cc: Kenneth Graunke <kenneth@whitecape.org>
Cc: Matt Turner <mattst88@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/intel_buffer_objects.c