commit | 3c86ca8296dc8d7ec111ff9adceb11b2142086da | [log] [tgz] |
---|---|---|
author | Jordan Crouse <jcrouse@codeaurora.org> | Mon May 21 08:41:52 2012 -0600 |
committer | Jordan Crouse <jcrouse@codeaurora.org> | Wed May 23 14:10:30 2012 -0600 |
tree | f76d793ea9e14fe30c59f643a3e1dc8b6bb38e9a | |
parent | fcef77c48a53b8b9cefa7346046c5b3816dffc79 [diff] |
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: Jordan Crouse <jcrouse@codeaurora.org>