Commit 3c86ca82 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Calculate size of the MMU map region from the scatterlist



The GPUMMU and IOMMU functions operate on a scatter-gather list of
pages but still use the memdesc->size to determine the overall size
of the region.  Enforce a single authoratiative source for all the
mapping data and calculate the size from the sglist.

Change-Id: Ic0dedbad6ffae842b65c5a88e7d56f834501e9d3
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent fcef77c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment