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

Skip to content
Commit 65d97852 authored by Mitchel Humpherys's avatar Mitchel Humpherys Committed by Stephen Boyd
Browse files

gpu: ion: make cached Iommu allocations multiples of PAGE_SIZE



In future changes to Ion, we will fault in the pages one at a time
using vm_insert_page for cached allocations. There appears to be a
limitation on vm_insert_page that the pages must be of size
PAGE_SIZE. Make sure that we only allocate pages of size PAGE_SIZE for
cached allocations.

Change-Id: I2243e73c4f50b90c9345c25b9e4bc30ccfa7e198
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 197943b4
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