diff options
Diffstat (limited to 'drivers/mxc/gpu-viv/hal/os/linux/kernel/allocator/default/gc_hal_kernel_allocator_user_memory.c')
-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 223533df8628..4293ac9fbc75 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 @@ -501,7 +501,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; |