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: 106001 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp1365500qgd; Tue, 20 Jun 2017 06:14:06 -0700 (PDT) X-Received: by 10.84.213.8 with SMTP id f8mr35850822pli.22.1497964446065; Tue, 20 Jun 2017 06:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497964446; cv=none; d=google.com; s=arc-20160816; b=tee5Otq7BpPLWl4xkCdvfvqSiGI4B+E5dEbsKpfI+nPTMy8leD4mg3vSaOhCm9eyZY ymunZp2o3pUqGXl2N4LEt2DQXxeqegDYEqnR+aU6jl6YCwvvPKCexNsZKEOBEc7fvIWi TrpQ4F2Dlk/u+hwF6vEBrwln7pjsSKXPTKKrdjgAccsYWlnUemmHDy5+hNwNL+35sEyp nmnc80Z6n/qF53tVUMMP/FO2KcphfCjLmTkYcIRO2f27Ap0ELHxwAXF3gcaZyExglRzl RwXoxP3F9gmyXhDmtgWbWErYcT/PKx4/EfJw1p8ioGipjRqht4VqtxJBPsBtxGpBqo7I 9xyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=oHS/006NtR6WMGsVSy87Z1UgIH7BMw8rJ5DhE/T+S5w=; b=lIQ0elzxk+ThBo5mD/DiFN8cnW3MwEK3yvhHQZdRjNQtIDyn4CfA3tcXXJt/u3cJ82 qZ9/SRqJ5dtEIdW+uP84VHi7PzgxioizzWrs0h/pHTFAaOKsYO/nx4Q1Zn5G3gdnnwH7 Xa+DB2P8czCCsSq+qqeylDN+thtBs7n/6gHv3C9o048ba7BBcv6Fa61SyU/oaLAtWgXU y1EUU+FH3s5iunMJvKHnT3a51NR0JT1DL7YmhRoUy4KxxnRCJkF4aCZzyU1YgODEyaaI FwTkZ22WHSyoOd7FfaPw4yJ1YklnvF25tnW/+YgR1I2rxTh1bvH/5D5FWC8CljpybT/X iTZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=jYu8Dore; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v75si10479428pfj.327.2017.06.20.06.14.05; Tue, 20 Jun 2017 06:14:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.b=jYu8Dore; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751959AbdFTNOD (ORCPT + 25 others); Tue, 20 Jun 2017 09:14:03 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:37104 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751038AbdFTNOC (ORCPT ); Tue, 20 Jun 2017 09:14:02 -0400 Received: by mail-wm0-f42.google.com with SMTP id d73so19862567wma.0 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=jcnU3NhlJnFj1pJwqeuVVL4al0RfjLOCBBCX4iXDlo9+5BTo1PJxuRo9FVAxx2bOCf 8V80MPFtHQh+fZJqavdfdAgmjmBpB/cztest1CREkn3oLnaSe5RR4ShAsOlCZDTDCCfp 0BM7vCNIwo31p3RYuvFnUsBJZ9zKI/QcjtINsJO5YMeicyEF5lBq63gAa1+ABLr8/QiJ xg40A9L6/PaFYexK4QOauKvjvAf+5h1MqOK14+9O6QJQIEGIM7nh5+Tf2b3ARtgum6KB WADjITIDxllhmWjMJnZgIJaHNqWv/S7qKag5N2ywjVtNcJPZ+vIWV47vWkTXWNP6I1TX LCVA== X-Gm-Message-State: AKS2vOyB8aIFLqj+U+WRSRwir2oR6s57QlIaZKy9jx1iK8S5w9/boHtg dZIwkquSdKPFSuYu 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.7.4 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---