diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-03-21 11:47:41 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 22:01:37 -0400 |
commit | 90e42e424aba21aed9aa380795cd564cfe97da28 (patch) | |
tree | 02ff8475c62c3e9e049cfbd17011cef80b2c8c06 /drivers/gpu/nvgpu/gk20a/cde_gk20a.c | |
parent | 92b667b88856240d3129912934d6e25e526c6d5e (diff) |
gpu: nvgpu: Helper for no kernel mapping alloc
Reduce amount of duplicate code around memory allocation by
introducing a variant of allocation helper that does not map the
allocated buffer to kernel address space.
NO_KERNEL_MAPPING allocations return a struct page **, so store the
results of allocation in a new field of mem_desc.
Bug 1605769
Change-Id: Ib760b9e6d34b229b04d1fb4f3abf10648670fc69
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/721029
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.c')
0 files changed, 0 insertions, 0 deletions