drm/i915: Map the ringbuffer using WB on LLC machines
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Oct 2015 12:39:54 +0000 (13:39 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 19 Oct 2015 10:12:02 +0000 (12:12 +0200)
commitdef0c5f6b0cd58cfc0b5702b1e1b1f5078debc35
treefa8d4dc46cb69bca41d6697fb17ff754dce755f5
parent1f9a99e0e75f29776d6f4062a03edc5e41c60596
drm/i915: Map the ringbuffer using WB on LLC machines

If we have llc coherency, we can write directly into the ringbuffer
using ordinary cached writes rather than forcing WC access.

v2: An important consequence is that we can forgo the mappable request
for WB ringbuffers, allowing for many more simultaneous contexts.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c