Skip to content

Commit 97e2ef5

Browse files
rmurphy-armhverkuil
authored andcommitted
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: Robin Murphy <robin.murphy@arm.com> Reviewed-by: Robert Foss <robert.foss@linaro.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
1 parent 466b705 commit 97e2ef5

File tree

1 file changed

+1
-1
lines changed
  • drivers/media/platform/qcom/venus

1 file changed

+1
-1
lines changed

drivers/media/platform/qcom/venus/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ config VIDEO_QCOM_VENUS
22
tristate "Qualcomm Venus V4L2 encoder/decoder driver"
33
depends on V4L_MEM2MEM_DRIVERS
44
depends on VIDEO_DEV && QCOM_SMEM
5-
depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
5+
depends on (ARCH_QCOM && ARM64 && IOMMU_API) || COMPILE_TEST
66
select OF_DYNAMIC if ARCH_QCOM
77
select QCOM_MDT_LOADER if ARCH_QCOM
88
select QCOM_SCM

0 commit comments

Comments
 (0)