diff options
author | 2014-10-27 18:49:16 +0900 | |
---|---|---|
committer | 2014-12-02 15:43:59 +1000 | |
commit | c5d7ddf70a8445f711f5ab9ab92bd4f59f993262 (patch) | |
tree | eb8202e6d766ab0e7879e4b4ee031ea46edb6cbd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/nouveau: warn when moving a pinned object (diff) | |
download | wireguard-linux-c5d7ddf70a8445f711f5ab9ab92bd4f59f993262.tar.xz wireguard-linux-c5d7ddf70a8445f711f5ab9ab92bd4f59f993262.zip |
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 <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions