drm/i915/cmdparser: Accelerate copies from WC memory
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 16:17:18 +0000 (17:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Aug 2016 21:37:01 +0000 (22:37 +0100)
commit52a42cec4b7088599a9f51187c454d45c460167a
treee8f98dd1ea9eacf871a61e081f0130f28330463a
parent76ff480ec9633d689a14e15bc0e3d10a84e6853b
drm/i915/cmdparser: Accelerate copies from WC memory

If we need to use clflush to prepare our batch for reads from memory, we
can bypass the cache instead by using non-temporal copies.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160818161718.27187-39-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_cmd_parser.c