diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-08-17 19:51:03 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-13 18:19:34 -0400 |
commit | ff9c3fc20a27444cd1ff7d9402965023e425f404 (patch) | |
tree | dbb511c48a4cc0068618c8a34a69ae8305e18747 /drivers/gpu/nvgpu/pmgr/pmgr.c | |
parent | 59e4089278bd052b440293356605ce524e4944db (diff) |
gpu: nvgpu: Reduce usage of nvgpu_vidmem_get_page_alloc
Reduce the usage of nvgpu_vidmem_get_page_alloc() and friends as much
as possible. This reduces the dependency of nvgpu on Linux SGLs. SGLs
still need to be used, however, since sharing buffers in userspace is
done by dma_buf FD. The best way to pass the vidmem buf through the
dma_buf is by SGL pointer.
JIRA NVGPU-30
JIRA NVGPU-138
Change-Id: Ide0e9e5a557f00aa63b063be085042101a5b34ee
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1540709
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pmgr.c')
0 files changed, 0 insertions, 0 deletions