diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2015-03-09 07:51:20 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 22:00:21 -0400 |
commit | d86fc5414beb6758d0b04ec78dd6589411dda66d (patch) | |
tree | 6b5effff1b812f417fa3b761089a9f9fc2516da9 /drivers/gpu/nvgpu/gk20a/gk20a.c | |
parent | f7d7b601ed7e4f592c9ce82708e69b16f1c28eec (diff) |
gpu: nvgpu: use vmalloc for temp gpfifo in submit
Use vmalloc instead of kzalloc for the temporary gpfifo buffer copied
from userspace in the ioctl when submitting gpfifos. The data may be too
big for kzalloc, and it doesn't need to be physically contiguous.
Bug 1617747
Bug 200081843
Change-Id: I66a43d17eb13a2783bc1f0598a38abbf330b2ba6
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/715207
Reviewed-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
0 files changed, 0 insertions, 0 deletions