aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2019-08-14 09:59:25 +0200
committerJason Gunthorpe <[email protected]>2019-08-20 09:35:03 -0300
commitf268307ec7c728fbc042608c7505926460117816 (patch)
treecaf65df64a1218e944affc98ef691c0f959a18ed /drivers/fpga/fpga-mgr.c
parentbfe69ef94aeeae76531b8f37799b8ac6fca56957 (diff)
nouveau: simplify nouveau_dmem_migrate_vma
Factor the main copy page to vram routine out into a helper that acts on a single page and which doesn't require the nouveau_dmem_migrate structure for argument passing. As an added benefit the new version only allocates the dma address array once and reuses it for each subsequent chunk of work. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Ralph Campbell <[email protected]> Tested-by: Ralph Campbell <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions