diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-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 e51ce7c5..75de063a 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -550,7 +550,7 @@ int map_gmmu_pages(void *handle, struct sg_table *sgt, | |||
550 | *kva = handle; | 550 | *kva = handle; |
551 | } else { | 551 | } else { |
552 | pages = (struct page **)handle; | 552 | pages = (struct page **)handle; |
553 | *kva = vmap(pages, count, 0, pgprot_dmacoherent(PAGE_KERNEL)); | 553 | *kva = vmap(pages, count, 0, pgprot_writecombine(PAGE_KERNEL)); |
554 | if (!(*kva)) | 554 | if (!(*kva)) |
555 | return -ENOMEM; | 555 | return -ENOMEM; |
556 | } | 556 | } |