diff options
author | Ralph Campbell <rcampbell@nvidia.com> | 2020-06-23 01:38:52 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-08 05:30:42 +0200 |
commit | ad61f5f5e02e0aaf667efcd0c44ba5d70ea0b356 (patch) | |
tree | c6b1a99f96120352705dbea67eabbfff80def106 /drivers/gpu/drm/nouveau/nouveau_svm.c | |
parent | drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout (diff) | |
download | linux-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