From patchwork Mon Aug 22 13:13:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 74416 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1563762qga; Mon, 22 Aug 2016 06:15:44 -0700 (PDT) X-Received: by 10.66.139.227 with SMTP id rb3mr41913483pab.26.1471871732241; Mon, 22 Aug 2016 06:15:32 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id om6si25922397pac.41.2016.08.22.06.15.31; Mon, 22 Aug 2016 06:15:32 -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 S1755510AbcHVNPX (ORCPT + 27 others); Mon, 22 Aug 2016 09:15:23 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:34124 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754527AbcHVNO1 (ORCPT ); Mon, 22 Aug 2016 09:14:27 -0400 Received: by mail-wm0-f41.google.com with SMTP id q128so21220674wma.1 for ; Mon, 22 Aug 2016 06:14:27 -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=d9K2fy2jZv8faVvtmAna+WfhncIaPFI8qtKU+a1Vml4=; b=gYbuvsP7pt6UTnRxmqSFNoljjc5anSgCaYei/SaYXruChg3SjYeki4pkXh9caPfqAf 7QfsmEXa21DxupuSEx+fD+CbipIe/i5B2XwRVpjQwhqtriYOpa/PjTwKz/Wane1YNjNL szkR4RlQBjwPwP92xdMNZfiAYt7FiGFuqi+XA= 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=d9K2fy2jZv8faVvtmAna+WfhncIaPFI8qtKU+a1Vml4=; b=eobwR7P24SES2aJZ0w6+WI1yGZMBhZBp0WGY968uhDYZFSlPSVVc+jW2rXGeNi2NCj qqHXo9GGgRg6w8y1rq39qrCBgPk2UF0g7fyP5RMLcxorS/OmL1pWEfWSARVMUT8LgzM1 XXuRgGj2jjqDL+aX9R08RNBbE4xLbm5ZvPFill8Y3u4sHeTdylnJmmVZ0mSTFmhLQo6L 47sD+RAOQ9Td1FwzUeNojWHa0WvjDwrpJa9CCeqnN7vLjbxRzz8/OC+8G1njVWLUT8g0 1BLXtkMESuvULelPSlu7WmWZ7k3yPNgDLllEcpEc0Cc9H+ppsrXPHg9uV8VmHan+TZff 7GyQ== X-Gm-Message-State: AEkoouuQh7kIS4cBfhS6Vx4pdDPJvgdWPT/gonqml0cTxU0BTWkXvWNgj08V76u1uA+fRPS2 X-Received: by 10.28.51.21 with SMTP id z21mr14788834wmz.24.1471871666419; Mon, 22 Aug 2016 06:14:26 -0700 (PDT) Received: from mms-0440.wifi.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id ex14sm24036676wjc.30.2016.08.22.06.14.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Aug 2016 06:14:25 -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 7/8] media: vidc: add Makefiles and Kconfig files Date: Mon, 22 Aug 2016 16:13:38 +0300 Message-Id: <1471871619-25873-8-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1471871619-25873-1-git-send-email-stanimir.varbanov@linaro.org> References: <1471871619-25873-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 | 19 +++++++++++++++++++ 3 files changed, 33 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..56f5c3924855 --- /dev/null +++ b/drivers/media/platform/qcom/vidc/Makefile @@ -0,0 +1,19 @@ +# Makefile for Qualcomm vidc driver + +vidc-objs += \ + core.o \ + int_bufs.o \ + helpers.o \ + vdec.o \ + vdec_ctrls.o \ + venc.o \ + venc_ctrls.o \ + mem.o \ + resources.o \ + load.o \ + hfi_venus.o \ + hfi_msgs.o \ + hfi_cmds.o \ + hfi.o \ + +obj-$(CONFIG_QCOM_VIDC) += vidc.o