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

Commit b355f4f8 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: smmu: Use iommu best match algo for camera" into camera-kernel.lnx.3.1

parents a5fa8a3e 88432ee8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3340,6 +3340,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);