Sparse buffers were allowed only with big pages. That restriction is
not necessary, so remove it.
Bug
1605769
Change-Id: I92efc0efe80edccead47b47d33fd9a75c921ca9a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/725763
goto clean_up;
}
- if (args->flags & NVGPU_AS_ALLOC_SPACE_FLAGS_SPARSE &&
- pgsz_idx != gmmu_page_size_big) {
- err = -ENOSYS;
- kfree(va_node);
- goto clean_up;
- }
-
start_page_nr = 0;
if (args->flags & NVGPU_AS_ALLOC_SPACE_FLAGS_FIXED_OFFSET)
start_page_nr = (u32)(args->o_a.offset >>