diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index 37151cda..b12091bf 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -1423,7 +1423,7 @@ u64 gk20a_vm_map(struct vm_gk20a *vm, | |||
1423 | sgl = sg_next(sgl); | 1423 | sgl = sg_next(sgl); |
1424 | } | 1424 | } |
1425 | } else | 1425 | } else |
1426 | bfr.align = 1 << __ffs(buf_addr | bfr.size); | 1426 | bfr.align = 1 << __ffs(buf_addr); |
1427 | 1427 | ||
1428 | bfr.pgsz_idx = -1; | 1428 | bfr.pgsz_idx = -1; |
1429 | mapping_size = mapping_size ? mapping_size : bfr.size; | 1429 | mapping_size = mapping_size ? mapping_size : bfr.size; |