summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_svm.c
diff options
context:
space:
mode:
authorRalph Campbell <rcampbell@nvidia.com>2020-06-23 01:38:52 +0200
committerBen Skeggs <bskeggs@redhat.com>2020-07-08 05:30:42 +0200
commitad61f5f5e02e0aaf667efcd0c44ba5d70ea0b356 (patch)
treec6b1a99f96120352705dbea67eabbfff80def106 /drivers/gpu/drm/nouveau/nouveau_svm.c
parentdrm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout (diff)
downloadlinux-ad61f5f5e02e0aaf667efcd0c44ba5d70ea0b356.tar.xz
linux-ad61f5f5e02e0aaf667efcd0c44ba5d70ea0b356.zip
drm/nouveau/svm: fix migrate page regression
The patch to add zero page migration to GPU memory inadvertently included part of a future change which broke normal page migration to GPU memory by copying too much data and corrupting GPU memory. Fix this by only copying one page instead of a byte count. Fixes: 9d4296a7d4b3 ("drm/nouveau/nouveau/hmm: fix migrate zero page to GPU") Signed-off-by: Ralph Campbell <rcampbell@nvidia.com> Reviewed-by: John Hubbard <jhubbard@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_svm.c')
0 files changed, 0 insertions, 0 deletions