gpu: ion: Map only the vma size given
authorLaura Abbott <lauraa@codeaurora.org>
Fri, 16 Mar 2012 22:33:39 +0000 (15:33 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:49 +0000 (13:40 -0700)
commit295fa2503fddac51fff29e8870f750e9a878f747
tree1819211654dd7c25ebc1ba1ef406be0ffd1b014c
parent75d890577808925f997e4a985f78b64e9f4a26c3
gpu: ion: Map only the vma size given

When mapping carveout buffers into userspace, only map
the size of the vma given, not the full size of the buffer
since clients may map less than the buffer size.

Change-Id: I1b391b23219455e879a900d947c728db3c8c4a76
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
drivers/gpu/ion/ion_carveout_heap.c