]> git.baikalelectronics.ru Git - kernel.git/commit
nouveau/svm: use the new migration invalidation
authorRalph Campbell <rcampbell@nvidia.com>
Thu, 23 Jul 2020 22:30:02 +0000 (15:30 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 28 Jul 2020 19:20:33 +0000 (16:20 -0300)
commitf8426521a295fbe02ed28dceb81dc1d110e66c91
treef5f62e123b88987cec782eaf9f55cb9a0b52bda6
parent02e89ef549ede7dd8abab5b98ef12bc38756f53d
nouveau/svm: use the new migration invalidation

Use the new MMU_NOTIFY_MIGRATE event to skip GPU MMU invalidations of
device private memory and handle the invalidation in the driver as part of
migrating device private memory.

Link: https://lore.kernel.org/r/20200723223004.9586-5-rcampbell@nvidia.com
Signed-off-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/gpu/drm/nouveau/nouveau_dmem.c
drivers/gpu/drm/nouveau/nouveau_svm.c
drivers/gpu/drm/nouveau/nouveau_svm.h