]> git.baikalelectronics.ru Git - kernel.git/commit
nouveau: use devm_memremap_pages directly
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Jun 2019 12:27:18 +0000 (14:27 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 2 Jul 2019 17:32:44 +0000 (14:32 -0300)
commitdcfe002cecd8322337739724306a286a90cce258
tree558b9faea166a458bc4f95b9849ea35fb2b96c56
parent9064b78cb024244fb930a9b4aef40f387676202f
nouveau: use devm_memremap_pages directly

Just use devm_memremap_pages instead of hmm_devmem_add pages to allow
killing that wrapper which doesn't provide a whole lot of benefits.

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