]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit235f8d8c34fa3b011194b68b34a263e237f64361
treefa8d4dc46cb69bca41d6697fb17ff754dce755f5
parent23915d464ff60cdc698db9b3f1e93e54c6699c91
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