From patchwork Tue Jun 20 13:13:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 9799527 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B679260329 for ; Tue, 20 Jun 2017 13:14:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A60232847B for ; Tue, 20 Jun 2017 13:14:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AD482848D; Tue, 20 Jun 2017 13:14:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4450E2847B for ; Tue, 20 Jun 2017 13:14:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751041AbdFTNOD (ORCPT ); Tue, 20 Jun 2017 09:14:03 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38083 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751046AbdFTNOC (ORCPT ); Tue, 20 Jun 2017 09:14:02 -0400 Received: by mail-wm0-f53.google.com with SMTP id u195so19818966wmd.1 for ; Tue, 20 Jun 2017 06:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=oHS/006NtR6WMGsVSy87Z1UgIH7BMw8rJ5DhE/T+S5w=; b=jYu8DoregDN1id2pGIEWUkHoKIjiZ9p9XS+44tyJz4KjFL3HkXnHwYwrLZxm55dGpG HbpKRpOnRKc7i57CKLTPYWFfcVyOqRNF46Ow6tJMVKNhmqG5SXzZHQ2y78GJgER94IMi 73mGjmbjzLoIH8wGkQOfh2wGptDjchmvCbiK8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=oHS/006NtR6WMGsVSy87Z1UgIH7BMw8rJ5DhE/T+S5w=; b=fIxYV/lIlh7Ff/0N/etYLl1gZWXb0bTGKtcFdkmGw1fbm39IAVd573pBKB7d3kMITL WTAQ0Nl7ciQZoHQo8uV+KYvgzcWTMG5N7TMC46iwjFUOIi4zX9Hf0mT4rsQ8darsnm5Q HXhgQwVabAsMbMzZDTES/w0MEfHMm8QVCqusfgS34Xz027viahK2ieXvVX7E8ln2Ggz5 YCEt2vYAnUUi6SDSZdbK92VUOKu26kGCKOd6uVSzwWri7IAFmyGgcI43j19SQqE5OSmC AbfkBfPE41u1Jp6W+8ps6xRhgtJdMXBJyWY9mzAaNMSXjcAKPmy1wzL5EkRAJ0+2uZzY lSrA== X-Gm-Message-State: AKS2vOwF4ZldX9ldniq0TEbwmr6sjH2Kwq3hE15gNf1H1vtwzjSqMjpQ f7RHBnho6qdN3ZtsvmKdLA== X-Received: by 10.28.105.85 with SMTP id e82mr2852522wmc.122.1497964440627; Tue, 20 Jun 2017 06:14:00 -0700 (PDT) Received: from mms-0440.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id 135sm15895632wmy.11.2017.06.20.06.13.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Jun 2017 06:14:00 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Mauro Carvalho Chehab , Hans Verkuil , Stanimir Varbanov , Mauro Carvalho Chehab Subject: [PATCH v2] media: venus: enable building with COMPILE_TEST Date: Tue, 20 Jun 2017 16:13:50 +0300 Message-Id: <1497964430-28310-1-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Signed-off-by: Stanimir Varbanov --- Changes since v1: - select QCOM_MDT_LOADER and QCOM_SCM conditionally. drivers/media/platform/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 6027dbd4e04d..b7381a4722e2 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -467,8 +467,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---