diff options
author | Sami Kiminki <skiminki@nvidia.com> | 2014-10-27 13:39:46 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:08 -0400 |
commit | ca474ca33f13c432bb43f7705f762907682e1219 (patch) | |
tree | 222a4ff59ea2b38426b88b72c2bf12b28b862c70 /drivers/gpu/nvgpu/vgpu/vgpu.c | |
parent | d11fbfe7b1b68b3aab93f7703896d95d40b79a58 (diff) |
gpu: nvgpu: ALLOC_AS: don't fail on default big page size
gk20a_vm_alloc_share() fails when the default big page size is
requested but ops.mm.set_big_page_size is unset. Rework the logic a
bit to allow userspace to explicitly request the default big page
size, too.
Change-Id: I2a28c6d979fbf1dde5559ce9eb5f1310d232e27f
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-on: http://git-master/r/590456
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
0 files changed, 0 insertions, 0 deletions