nouveau: use alloc_page_vma directly
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Jun 2019 12:27:17 +0000 (14:27 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 2 Jul 2019 17:32:44 +0000 (14:32 -0300)
commit721be868142cb95888847dfaaf3d1c5b8c65b943
tree5d86023d7c4732baa17596d4881a00854a0aa39f
parentd0b3517dbcf3f632f7554d878f85943439aade64
nouveau: use alloc_page_vma directly

hmm_vma_alloc_locked_page is scheduled to go away, use the proper
mm function directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/gpu/drm/nouveau/nouveau_dmem.c