diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index 1e0fd6af..0deadfd0 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -2816,7 +2816,9 @@ int gk20a_vm_alloc_space(struct gk20a_as_share *as_share, | |||
2816 | (u64)args->pages * | 2816 | (u64)args->pages * |
2817 | (u64)args->page_size); | 2817 | (u64)args->page_size); |
2818 | else | 2818 | else |
2819 | vaddr_start = gk20a_balloc(vma, args->pages * args->page_size); | 2819 | vaddr_start = gk20a_balloc(vma, |
2820 | (u64)args->pages * | ||
2821 | (u64)args->page_size); | ||
2820 | 2822 | ||
2821 | if (!vaddr_start) { | 2823 | if (!vaddr_start) { |
2822 | kfree(va_node); | 2824 | kfree(va_node); |