summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRalph Campbell <rcampbell@nvidia.com>2020-05-20 20:36:52 +0200
committerBen Skeggs <bskeggs@redhat.com>2020-05-22 03:13:52 +0200
commit9d4296a7d4b329016e6b5b59a7fb3f8afa36ac05 (patch)
tree034bc4d8011a378a2fef851939b74d4ae10352f6 /net
parentdrm/nouveau/nouveau/hmm: fix nouveau_dmem_chunk allocations (diff)
downloadlinux-9d4296a7d4b329016e6b5b59a7fb3f8afa36ac05.tar.xz
linux-9d4296a7d4b329016e6b5b59a7fb3f8afa36ac05.zip
drm/nouveau/nouveau/hmm: fix migrate zero page to GPU
When calling OpenCL clEnqueueSVMMigrateMem() on a region of memory that is backed by pte_none() or zero pages, migrate_vma_setup() will fill the source PFN array with an entry indicating the source page is zero. Use this to optimize migration to device private memory by allocating GPU memory and zero filling it instead of failing to migrate the page. Signed-off-by: Ralph Campbell <rcampbell@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions