diff options
author | Ralph Campbell <[email protected]> | 2020-03-03 16:13:39 -0800 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2020-05-22 11:13:49 +1000 |
commit | e3d8b08904694e9ccae5163d0bb7d35fa66e5bdc (patch) | |
tree | 8f7d8263200f78977c57bd1bf3f32c1123bfc6ca /scripts/gdb/linux/proc.py | |
parent | 9c1c08a68dcdea3a933948b4e7927bdbc56aac4c (diff) |
drm/nouveau/svm: map pages after migration
When memory is migrated to the GPU, it is likely to be accessed by GPU
code soon afterwards. Instead of waiting for a GPU fault, map the
migrated memory into the GPU page tables with the same access permissions
as the source CPU page table entries. This preserves copy on write
semantics.
Signed-off-by: Ralph Campbell <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: "Jérôme Glisse" <[email protected]>
Cc: Ben Skeggs <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions