From: Alexandre Courbot Date: Mon, 27 Oct 2014 09:49:16 +0000 (+0900) Subject: drm/nouveau: introduce nv_device_is_cpu_coherent() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~77^2~15^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5d7ddf70a8445f711f5ab9ab92bd4f59f993262;p=pandora-kernel.git drm/nouveau: introduce nv_device_is_cpu_coherent() Add a function allowing us to know whether a device is CPU-coherent, i.e. accesses performed by the CPU on GPU-mapped buffers will be immediately visible on the GPU side and vice-versa. For now, a device is considered to be coherent if it uses the PCI bus on a non-ARM architecture. Signed-off-by: Alexandre Courbot Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed