mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "msm: camera: smmu: Use iommu best match algo for camera" into camera-kernel.lnx.4.0
This commit is contained in:
commit
c072d0eaab
1 changed files with 2 additions and 0 deletions
|
|
@ -3353,6 +3353,8 @@ static int cam_smmu_setup_cb(struct cam_context_bank_info *cb,
|
|||
goto end;
|
||||
}
|
||||
|
||||
iommu_dma_enable_best_fit_algo(dev);
|
||||
|
||||
if (cb->discard_iova_start)
|
||||
iommu_dma_reserve_iova(dev, cb->discard_iova_start,
|
||||
cb->discard_iova_len);
|
||||
|
|
|
|||
Loading…
Reference in a new issue