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>
4 files changed