Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 51e03196 authored by Jeremy Gebben's avatar Jeremy Gebben Committed by Stephen Boyd
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 9eb018b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment