commit | eeaf06ac1a5584e41cf289f8351e446bb131374b | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Thu Jul 05 12:57:12 2018 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Feb 20 09:00:02 2019 +1000 |
tree | 4bd51901b98177c13c805fd61083156f0435d75a | |
parent | bfe91afaca59251fbf5d62143fdd8f740b551302 [diff] |
drm/nouveau/svm: initial support for shared virtual memory This uses HMM to mirror a process' CPU page tables into a channel's page tables, and keep them synchronised so that both the CPU and GPU are able to access the same memory at the same virtual address. While this code also supports Volta/Turing, it's only enabled for Pascal GPUs currently due to channel recovery being unreliable right now on the later GPUs. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>