[media] media: venus: enable building with COMPILE_TEST
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Tue, 20 Jun 2017 13:13:50 +0000 (10:13 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 13:57:08 +0000 (10:57 -0300)
We want all media drivers to build with COMPILE_TEST, as the
Coverity instance we use on Kernel works only for x86. Also,
our test workflow relies on it, in order to identify git
bisect breakages.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
drivers/media/platform/Kconfig

index 9ce7224bf59b56e9e2f7f8ff203c6212ba003594..1313cd5334360342d776cee365c53985c82599d4 100644 (file)
@@ -474,8 +474,9 @@ config VIDEO_TI_VPE_DEBUG
 config VIDEO_QCOM_VENUS
        tristate "Qualcomm Venus V4L2 encoder/decoder driver"
        depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
-       depends on ARCH_QCOM && IOMMU_DMA
-       select QCOM_MDT_LOADER
+       depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
+       select QCOM_MDT_LOADER if (ARM || ARM64)
+       select QCOM_SCM if (ARM || ARM64)
        select VIDEOBUF2_DMA_SG
        select V4L2_MEM2MEM_DEV
        ---help---