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

Commit 09d42e8d 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.1.0

parents 73b23d47 421e8ed8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3295,6 +3295,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);