Commit d01042d0 authored by Jeremy Gebben's avatar Jeremy Gebben Committed by Ajay Dudani
Browse files

gpu: ion: set dma_address for contiguous heaps in ion_map_dma()



Ion carveout and content protect heap buffers do not
have a struct page associated with them. Thus
sg_phys() will not work reliably on these buffers,
so set dma_address on their scatterlists.

CRs-Fixed: 345257
Change-Id: Ifdad5ce497de170f47b4ee2f7a93563a5cbe1a96
Signed-off-by: default avatarJeremy Gebben <jgebben@codeaurora.org>
parent 582fe31d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment