diff options
author | 2019-07-24 08:52:57 +0200 | |
---|---|---|
committer | 2019-07-25 16:14:40 -0300 | |
commit | f32471e2cf87112b8f5dc10469b27c39c1a41722 (patch) | |
tree | faf884d90b98c17da133fb5ab76bd76c44348f5a /drivers/gpu/drm/nouveau/nouveau_dmem.c | |
parent | nouveau: return -EBUSY when hmm_range_wait_until_valid fails (diff) | |
download | linux-f32471e2cf87112b8f5dc10469b27c39c1a41722.tar.gz linux-f32471e2cf87112b8f5dc10469b27c39c1a41722.tar.bz2 linux-f32471e2cf87112b8f5dc10469b27c39c1a41722.zip |
mm/hmm: remove the legacy hmm_pfn_* APIs
Switch the one remaining user in nouveau over to its replacement, and
remove all the wrappers.
Link: https://lore.kernel.org/r/20190724065258.16603-7-hch@lst.de
Tested-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_dmem.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_dmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_dmem.c b/drivers/gpu/drm/nouveau/nouveau_dmem.c index 1333220787a1..345c63cb752a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_dmem.c +++ b/drivers/gpu/drm/nouveau/nouveau_dmem.c @@ -845,7 +845,7 @@ nouveau_dmem_convert_pfn(struct nouveau_drm *drm, struct page *page; uint64_t addr; - page = hmm_pfn_to_page(range, range->pfns[i]); + page = hmm_device_entry_to_page(range, range->pfns[i]); if (page == NULL) continue; |