From patchwork Mon Nov 7 17:34:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 9415549 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 D7B3960720 for ; Mon, 7 Nov 2016 17:35:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE87028BFB for ; Mon, 7 Nov 2016 17:35:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C358B28C07; Mon, 7 Nov 2016 17:35:49 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham 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 4615328BFD for ; Mon, 7 Nov 2016 17:35:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932795AbcKGRfn (ORCPT ); Mon, 7 Nov 2016 12:35:43 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:36717 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753572AbcKGRfl (ORCPT ); Mon, 7 Nov 2016 12:35:41 -0500 Received: by mail-wm0-f43.google.com with SMTP id p190so197624047wmp.1 for ; Mon, 07 Nov 2016 09:34:41 -0800 (PST) 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=Uc7I8i7KC8HgwP3gHeYLj4uceWp5SF+FIRLsuDhKYtA=; b=YBvZamR8HdfeZpxLM6+AKJpl2NwtFsbZaqvJvUty3yHzLPLIRtJko5S648UKdVzZgS GmuikUYiM2k5sMhCL8JO3GqtoQgwXBt5/2FAHpJ1UjkUfk+BCfWcNxmALhxby6nFHL3/ qMkUH/EhlXGpmYLA8nehuC8lgnHYYMN9DJJyA= 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=Uc7I8i7KC8HgwP3gHeYLj4uceWp5SF+FIRLsuDhKYtA=; b=VBfe4eyCvAEOHwrJG4dowJrCm63ThJ0looAWPxK5O3d7/0S9fGYyyxgchTls1A3wjl VafYP6qyTc9po0WgXs0pBH0UBwRJ9SUkkSdYqIGpiwmQg/i0qQY8mcT+dqDEC5Q0ct2D zcT5fIvTwj5AKGOJy8hb4sxE+uSJThpIJkujyNHzM01qDB2Jq7QgmcbLHxkLCUP0ln+R QBAP9NXTB9SYvbrLqIZbQWhIZUTdEoTyeQYCHLJdXw6CilC+QHFJfdRYaEctaO9n0CUj KYVwxvijKR71kzbj50ycarThSovWB2U+0urAoO1BGh0/WJMEEO9Mfle//WIXfPzkPmHv 7rFw== X-Gm-Message-State: ABUngvc8EX9rzqrGl8pfQNIXtkf7Ru8WLsrGuN9iYRM0yq+t+sOPMR8qMkdf0xZiFKA3zioE X-Received: by 10.28.152.67 with SMTP id a64mr1824108wme.1.1478540080790; Mon, 07 Nov 2016 09:34:40 -0800 (PST) Received: from mms-0440.wifi.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id w66sm14759967wme.4.2016.11.07.09.34.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Nov 2016 09:34:40 -0800 (PST) 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 v3 8/9] media: venus: add Makefiles and Kconfig files Date: Mon, 7 Nov 2016 19:34:02 +0200 Message-Id: <1478540043-24558-9-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478540043-24558-1-git-send-email-stanimir.varbanov@linaro.org> References: <1478540043-24558-1-git-send-email-stanimir.varbanov@linaro.org> 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 Makefile and Kconfig files to build the Venus video codec driver. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/Kconfig | 7 +++++++ drivers/media/platform/qcom/Makefile | 1 + drivers/media/platform/qcom/venus/Makefile | 15 +++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 drivers/media/platform/qcom/Kconfig create mode 100644 drivers/media/platform/qcom/Makefile create mode 100644 drivers/media/platform/qcom/venus/Makefile diff --git a/drivers/media/platform/qcom/Kconfig b/drivers/media/platform/qcom/Kconfig new file mode 100644 index 000000000000..bf4d2fcce924 --- /dev/null +++ b/drivers/media/platform/qcom/Kconfig @@ -0,0 +1,7 @@ + +menuconfig VIDEO_QCOM_VENUS + tristate "Qualcomm Venus 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..347c6c71c189 --- /dev/null +++ b/drivers/media/platform/qcom/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_VIDEO_QCOM_VENUS) += venus/ diff --git a/drivers/media/platform/qcom/venus/Makefile b/drivers/media/platform/qcom/venus/Makefile new file mode 100644 index 000000000000..b6c486be386c --- /dev/null +++ b/drivers/media/platform/qcom/venus/Makefile @@ -0,0 +1,15 @@ +# Makefile for Qualcomm Venus driver + +venus-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_VIDEO_QCOM_VENUS) += venus.o