From patchwork Wed Sep 7 11:37:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 75649 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp281313qgf; Wed, 7 Sep 2016 04:45:31 -0700 (PDT) X-Received: by 10.98.205.75 with SMTP id o72mr50514644pfg.37.1473248731722; Wed, 07 Sep 2016 04:45:31 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d68si34843794pfa.77.2016.09.07.04.45.31; Wed, 07 Sep 2016 04:45:31 -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; 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 dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965030AbcIGLpU (ORCPT + 27 others); Wed, 7 Sep 2016 07:45:20 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:37474 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757304AbcIGLpO (ORCPT ); Wed, 7 Sep 2016 07:45:14 -0400 Received: by mail-wm0-f46.google.com with SMTP id w12so27350758wmf.0 for ; Wed, 07 Sep 2016 04:45:14 -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:in-reply-to:references; bh=1e2SPwb8AsqKWtAL8fZLAK8mynD9ccwULFulamMhH1c=; b=d9mznSvgX2u+KpCgw/pq7z2qNPWOjYwhbT2MxINln1NoTN048u9FVIT41Hvkpwwmla jCWDvVbGsDgNU2EQI01Ru8QAHm2pEIKyXQPc+0+GN2IAPccTRoKkIk7GzwzL/UTBNF+J 8+rLf9XWNp/lNNpwDiGyv44lzOSEY4RcQ4lik= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1e2SPwb8AsqKWtAL8fZLAK8mynD9ccwULFulamMhH1c=; b=VM14IMYEKCVzb/0HQgLWURSrSAmIxYMai+ZzXTUN8C94KAePXwB2J6Slyt0RuuTGV2 PU0Zr6yTDeXKKv+eYTRa/GmiXUhZzFnlHvav7Vnb8ei78fYBC2oVsmwSWbFCkQ+Upet4 HwXRlqZCLftK8LvZNvb8Uu2Fh5lCNdIIEKlE5FZphBtoyvEzL4clKfTp2oZop3heU1Nt O40W9cgOcTr7952wKsKlcQTEW4t9LMgwwwOKjfEm2NtEo43mTdav7MyCQdxLyN0zs7CY CrYDC6EELmmjBjjNtnXqNkzH7/Ck7XMyuLWIp50kS/skRLOtZWsaRsehJNTrpt7gh+j3 +1dg== X-Gm-Message-State: AE9vXwPLjzeUDpzY/ciC3b/yquXVv1+27kyCas6hE5npT8Vgso06sZ5GxCbCKQtsTvR4sJUl X-Received: by 10.194.189.229 with SMTP id gl5mr39951119wjc.168.1473248279296; Wed, 07 Sep 2016 04:37:59 -0700 (PDT) Received: from mms-0440.wifi.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id v189sm3817046wmv.12.2016.09.07.04.37.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Sep 2016 04:37:58 -0700 (PDT) From: Stanimir Varbanov To: Mauro Carvalho Chehab , Hans Verkuil Cc: Andy Gross , Bjorn Andersson , Stephen Boyd , Srinivas Kandagatla , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Stanimir Varbanov Subject: [PATCH v2 7/8] media: vidc: add Makefiles and Kconfig files Date: Wed, 7 Sep 2016 14:37:08 +0300 Message-Id: <1473248229-5540-8-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473248229-5540-1-git-send-email-stanimir.varbanov@linaro.org> References: <1473248229-5540-1-git-send-email-stanimir.varbanov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Makefile and Kconfig files to build the video codec driver. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/Kconfig | 8 ++++++++ drivers/media/platform/qcom/Makefile | 6 ++++++ drivers/media/platform/qcom/vidc/Makefile | 15 +++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 drivers/media/platform/qcom/Kconfig create mode 100644 drivers/media/platform/qcom/Makefile create mode 100644 drivers/media/platform/qcom/vidc/Makefile -- 2.7.4 diff --git a/drivers/media/platform/qcom/Kconfig b/drivers/media/platform/qcom/Kconfig new file mode 100644 index 000000000000..4bad5c0f68e4 --- /dev/null +++ b/drivers/media/platform/qcom/Kconfig @@ -0,0 +1,8 @@ +comment "Qualcomm V4L2 drivers" + +menuconfig QCOM_VIDC + tristate "Qualcomm V4L2 encoder/decoder driver" + depends on ARCH_QCOM && VIDEO_V4L2 + depends on IOMMU_DMA + depends on QCOM_VENUS_PIL + select VIDEOBUF2_DMA_SG diff --git a/drivers/media/platform/qcom/Makefile b/drivers/media/platform/qcom/Makefile new file mode 100644 index 000000000000..150892f6533b --- /dev/null +++ b/drivers/media/platform/qcom/Makefile @@ -0,0 +1,6 @@ +# +# Makefile for the QCOM spcific video device drivers +# based on V4L2. +# + +obj-$(CONFIG_QCOM_VIDC) += vidc/ diff --git a/drivers/media/platform/qcom/vidc/Makefile b/drivers/media/platform/qcom/vidc/Makefile new file mode 100644 index 000000000000..f8b5f9a438ee --- /dev/null +++ b/drivers/media/platform/qcom/vidc/Makefile @@ -0,0 +1,15 @@ +# Makefile for Qualcomm vidc driver + +vidc-objs += \ + core.o \ + helpers.o \ + vdec.o \ + vdec_ctrls.o \ + venc.o \ + venc_ctrls.o \ + hfi_venus.o \ + hfi_msgs.o \ + hfi_cmds.o \ + hfi.o \ + +obj-$(CONFIG_QCOM_VIDC) += vidc.o