diff options
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index c86fee45..31f01528 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -2431,13 +2431,6 @@ int gk20a_vm_alloc_space(struct gk20a_as_share *as_share, | |||
2431 | goto clean_up; | 2431 | goto clean_up; |
2432 | } | 2432 | } |
2433 | 2433 | ||
2434 | if (args->flags & NVGPU_AS_ALLOC_SPACE_FLAGS_SPARSE && | ||
2435 | pgsz_idx != gmmu_page_size_big) { | ||
2436 | err = -ENOSYS; | ||
2437 | kfree(va_node); | ||
2438 | goto clean_up; | ||
2439 | } | ||
2440 | |||
2441 | start_page_nr = 0; | 2434 | start_page_nr = 0; |
2442 | if (args->flags & NVGPU_AS_ALLOC_SPACE_FLAGS_FIXED_OFFSET) | 2435 | if (args->flags & NVGPU_AS_ALLOC_SPACE_FLAGS_FIXED_OFFSET) |
2443 | start_page_nr = (u32)(args->o_a.offset >> | 2436 | start_page_nr = (u32)(args->o_a.offset >> |