diff options
author | Kerwin Wan <kerwinw@nvidia.com> | 2015-04-16 06:08:49 -0400 |
---|---|---|
committer | Ishan Mittal <imittal@nvidia.com> | 2015-05-18 02:03:31 -0400 |
commit | 8d177e7b744acfbe9740af1082397a0f6baa88ae (patch) | |
tree | 3a227eca1f4b10ed612b7096699bb32d3a7e71ff /drivers/gpu/nvgpu/gk20a/gk20a.c | |
parent | 16fc6e3931733c9d5ff87e0b889aa2b897c540c3 (diff) |
gpu: nvgpu: use vzalloc for mm entries
When system is in low memory, kzalloc will fail if
kernel requests more than PAGE_SIZE continous memory block.
Bug 200096099
Change-Id: I44e217ffa6aa6c453a4d4afba45a8ee3b5756cc1
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/732197
(cherry picked from commit 62861976421415f93e98a0a9f977ac1f66046714)
Reviewed-on: http://git-master/r/737057
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
0 files changed, 0 insertions, 0 deletions