msm_dma_iommu_mapping: Add Kconfig dependency on DMA-BUF Heaps

The delayed unmap feature should only be used along with our DMA-BUF
heaps - enforce this at compile time.

Change-Id: Ib7fcfbc4a3e4cd7f1e389c71d13ed888fa791181
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
This commit is contained in:
Chris Goldsworthy 2021-05-09 15:48:26 -07:00
parent 5085fa84bb
commit 510a21f3a0

View File

@ -407,6 +407,7 @@ config ARM_SMMU_V3_SVA
config QCOM_LAZY_MAPPING
tristate "Reference counted iommu-mapping support"
depends on QCOM_DMABUF_HEAPS
depends on IOMMU_API
help
DMA-BUFs may be shared between several software clients.