nouveau: use mmu_notifier directly for invalidate_range_start
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 12 Nov 2019 20:22:25 +0000 (16:22 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Sat, 23 Nov 2019 23:56:44 +0000 (19:56 -0400)
commitc625c274ee0058c2a04aa0d794314b5b277606b2
tree586b6a15301646667f7f5b07797d1e62fc6eeaf9
parent3506ff69c3ec725b9c3e7f074fd2d265922f139a
nouveau: use mmu_notifier directly for invalidate_range_start

There is no reason to get the invalidate_range_start() callback via an
indirection through hmm_mirror, just register a normal notifier directly.

Link: https://lore.kernel.org/r/20191112202231.3856-9-jgg@ziepe.ca
Tested-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/gpu/drm/nouveau/nouveau_svm.c