diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_user_memory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_user_memory.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_user_memory.c index 690d2027b8ff..cd7f2d389652 100644 --- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_user_memory.c +++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_user_memory.c @@ -454,7 +454,8 @@ _UserMemoryAttach( Mdl->priv = userMemory; Mdl->numPages = userMemory->pageCount + userMemory->extraPage; - Mdl->contiguous = (userMemory->chunk_count == 1); + /* Not contiguous with extra pages */ + Mdl->contiguous = gcvFALSE; gcmkFOOTER_NO(); return gcvSTATUS_OK; |