summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-03-21 11:47:41 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 22:01:37 -0400
commit90e42e424aba21aed9aa380795cd564cfe97da28 (patch)
tree02ff8475c62c3e9e049cfbd17011cef80b2c8c06 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c
parent92b667b88856240d3129912934d6e25e526c6d5e (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/gr_gk20a.c')
0 files changed, 0 insertions, 0 deletions