commit | d162c8ce08b175b349333ef3f087b53e9895c8fe | [log] [tgz] |
---|---|---|
author | Jordan Crouse <jcrouse@codeaurora.org> | Tue Feb 07 09:03:40 2017 -0700 |
committer | Alan Kwong <akwong@codeaurora.org> | Thu Nov 30 16:15:45 2017 -0500 |
tree | 9344823a96fcb7c2fa6be675c91d730af12eb5c5 | |
parent | a81181397b9229d65d0d5cf4cf7c40ae1b543ae4 [diff] |
drm/msm: Use dma_sync_sg_for_device() to flush cache for new buffers With the conversion of the master device to use the arm iommu ops we lose the benefit of a cache flush using the dma_map_sg trick. Plus we end up mapping all the GPU buffers into the master DMA device which is admittedly sub optimal. Change-Id: Ifa0e4aa229eb64a05daddd1d6d8168930c298150 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Alan Kwong <akwong@codeaurora.org>