mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
arm: make default iova alignment as 2mb
To get the 2MB aligned IOVA section mappings, set ARM_DMA_IOMMU_ALIGNMENT to 9. Change-Id: I3254c39e4864c32d6f25a4d416b1b7aec6756ecd Signed-off-by: Charan Teja Reddy <charante@codeaurora.org> Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org> Signed-off-by: Qingqing Zhou <qqzhou@codeaurora.org>
This commit is contained in:
parent
61311e5672
commit
bb7d10aa8e
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ if ARM_DMA_USE_IOMMU
|
|||
config ARM_DMA_IOMMU_ALIGNMENT
|
||||
int "Maximum PAGE_SIZE order of alignment for DMA IOMMU buffers"
|
||||
range 4 9
|
||||
default 8
|
||||
default 9
|
||||
help
|
||||
DMA mapping framework by default aligns all buffers to the smallest
|
||||
PAGE_SIZE order which is greater than or equal to the requested buffer
|
||||
|
|
|
|||
Loading…
Reference in a new issue