Commit 97e2ef56 authored by Robin Murphy's avatar Robin Murphy Committed by Hans Verkuil
Browse files

media: qcom: Clean up Kconfig dependencies



Depending on IOMMU_DMA is suspicious, since the low-level DMA ops
internals and MSI helpers is provides are not of interest to general
drivers. In practice it mostly seems to be serving as a dependency on
ARM64 here, so do that properly. The venus driver looks like it won't
actually be useful at runtime without the IOMMU API, so add that too.

Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
Reviewed-by: default avatarRobert Foss <robert.foss@linaro.org>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
parent 466b7053
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ config VIDEO_QCOM_VENUS
	tristate "Qualcomm Venus V4L2 encoder/decoder driver"
	depends on V4L_MEM2MEM_DRIVERS
	depends on VIDEO_DEV && QCOM_SMEM
	depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
	depends on (ARCH_QCOM && ARM64 && IOMMU_API) || COMPILE_TEST
	select OF_DYNAMIC if ARCH_QCOM
	select QCOM_MDT_LOADER if ARCH_QCOM
	select QCOM_SCM