From patchwork Thu Jun 15 16:31:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 105660 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp887840qgd; Thu, 15 Jun 2017 09:32:27 -0700 (PDT) X-Received: by 10.84.233.193 with SMTP id m1mr7234206pln.236.1497544346949; Thu, 15 Jun 2017 09:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497544346; cv=none; d=google.com; s=arc-20160816; b=fWGpcKRx+mJsmcyjZel/lDs8hbT6DewwodzU/ttO91wNQMosRD5QjV587jmH1DupVO ZziCyisM9jqC27HUpPVOJnnGb/twCmwGFf5PBF55rHAbgM/BoKB9ouY2hdNkGEnwTDHT mVc6DFN2d7SQfxDl6F4vPUeh86Qe2LxkLunlOUv1YmbArFwgQbwrqG0JXc7xjF0bjozD rwxc7EJEoOyHQLx2omBh2WppSRXfDWFRcNe6nGeSfBr14D7jKftJaqXYMPWvAQhkzdJU L9RjoGxkySGJf8KLK6zFOSxaOhNNUx1OXN0OcX6mHRN+SACizfktOfOEVjXocsbAtTK7 Vhnw== 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=BpVFPr8o7HiHvC9fSi60SmPhaZCR1Hg/dZjl7VVyxkw=; b=xy/5f8hhgS82i5fNQFS318tkjL6coiZ1yeB3uNtGT7QYB9oejGr3QfDYvL2VTeIiFq Ie4w8s+6JZSoqEy9Z9d7JKdnjtsWaU3iUfH/7d7PCeQYF/EK940bNORqUV6mu5rMImw0 weMhnXk6dI65wvXvoKgAcIEO2mOWND58t90Kty2Z1RJG0N4vD9utN3RJLH+6BP4CIbR6 gns0vpMJ0OStPg7UQDlOwQC7XjgAYbJ+gup2UUfaDkVb5kj+Av9IMBfOWC7J24Wyfd3Z 2fc3vyZm2D8M7S6RXCFH7TTy50nU40uNt1ucK2oBJ3omAywK9+z+M2dgAocG1W/ILfVE fT4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=ISe9sqRX; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-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 r8si392144pgu.469.2017.06.15.09.32.26; Thu, 15 Jun 2017 09:32:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-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=ISe9sqRX; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-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 S1750849AbdFOQcZ (ORCPT + 4 others); Thu, 15 Jun 2017 12:32:25 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:33874 "EHLO mail-wr0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbdFOQcY (ORCPT ); Thu, 15 Jun 2017 12:32:24 -0400 Received: by mail-wr0-f177.google.com with SMTP id 77so25367160wrb.1 for ; Thu, 15 Jun 2017 09:32:24 -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=BpVFPr8o7HiHvC9fSi60SmPhaZCR1Hg/dZjl7VVyxkw=; b=ISe9sqRXsVUWnie080oZxxlCZk+FSBcmnmqhFlEeRRUi3y1uC41j0eVQxjFgkZjaIy yQbi+C6cMGy7d+1fLouG8Z2bSeM0xZCFiHJf1J7mMCJKqF+3Nyh+WqmR8TeTbKgTncUV Lo6eXfI3IS7FeIjtuk7JIJTTh1iBwsJPvzHPk= 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=BpVFPr8o7HiHvC9fSi60SmPhaZCR1Hg/dZjl7VVyxkw=; b=Jzl8xzAcvveGN0E8TlqHdDGNYs0svUwP0sMwjUdJz4Peod/U1+GwpVMia6z/aOjH9X TnsB+fKr5P4xVclxk5VSehrkqeXbyjP1FgLlHuwy3vkYSfCKvKUWCsjOcfZPNDclM+7C IMgWpqlQVAwDaAP+x3dyG24L8O/YNVg9yxYCM7DTvkKYsL4WVq2OyFSEyTdvjmbydXDR qQ0sTW+t4lmaJyEVWQ0ritFJwDeMrGHeigShcyb+uhQzxmcwwv/LzZPj/+vQQVMSt8M1 pBSEj7gyO3yYIUOMTyg3/5m8qszD8rLCaFgNAvYv2JB3j7wNWcayCCoViCimyp/IHTu1 awqg== X-Gm-Message-State: AKS2vOxbUjfkEigh8NkxQzrhMY3lAkL8N1OUYAfxR9Y8Pdp9AmyTPYII 49Wm+WrktOTZYs5K X-Received: by 10.223.150.27 with SMTP id b27mr2661498wra.67.1497544343138; Thu, 15 Jun 2017 09:32:23 -0700 (PDT) Received: from mms-0440.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id m73sm541890wmi.25.2017.06.15.09.32.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Jun 2017 09:32:22 -0700 (PDT) From: Stanimir Varbanov To: Mauro Carvalho Chehab , Hans Verkuil Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Stanimir Varbanov Subject: [PATCH v11 00/19] Qualcomm video decoder/encoder driver Date: Thu, 15 Jun 2017 19:31:41 +0300 Message-Id: <1497544320-2269-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 Hello, Changes since v10: * added patch 18/19 which updates firmware path. regards, Stan Stanimir Varbanov (19): media: v4l2-mem2mem: extend m2m APIs for more accurate buffer management doc: DT: venus: binding document for Qualcomm video driver MAINTAINERS: Add Qualcomm Venus video accelerator driver media: venus: adding core part and helper functions media: venus: vdec: add video decoder files media: venus: venc: add video encoder files media: venus: hfi: add Host Firmware Interface (HFI) media: venus: hfi: add Venus HFI files media: venus: enable building of Venus video driver media: venus: hfi: fix mutex unlock media: venus: hfi_cmds: fix variable dereferenced before check media: venus: helpers: fix variable dereferenced before check media: venus: hfi_venus: fix variable dereferenced before check media: venus: hfi_msgs: fix set but not used variables media: venus: vdec: fix compile error in vdec_close media: venus: venc: fix compile error in venc_close media: venus: vdec: add support for min buffers for capture media: venus: update firmware path with linux-firmware place media: venus: enable building with COMPILE_TEST .../devicetree/bindings/media/qcom,venus.txt | 107 ++ MAINTAINERS | 8 + drivers/media/platform/Kconfig | 13 + drivers/media/platform/Makefile | 2 + drivers/media/platform/qcom/venus/Makefile | 11 + drivers/media/platform/qcom/venus/core.c | 390 +++++ drivers/media/platform/qcom/venus/core.h | 324 ++++ drivers/media/platform/qcom/venus/firmware.c | 108 ++ drivers/media/platform/qcom/venus/firmware.h | 23 + drivers/media/platform/qcom/venus/helpers.c | 725 +++++++++ drivers/media/platform/qcom/venus/helpers.h | 45 + drivers/media/platform/qcom/venus/hfi.c | 522 +++++++ drivers/media/platform/qcom/venus/hfi.h | 175 +++ drivers/media/platform/qcom/venus/hfi_cmds.c | 1259 ++++++++++++++++ drivers/media/platform/qcom/venus/hfi_cmds.h | 304 ++++ drivers/media/platform/qcom/venus/hfi_helper.h | 1050 +++++++++++++ drivers/media/platform/qcom/venus/hfi_msgs.c | 1052 +++++++++++++ drivers/media/platform/qcom/venus/hfi_msgs.h | 283 ++++ drivers/media/platform/qcom/venus/hfi_venus.c | 1572 ++++++++++++++++++++ drivers/media/platform/qcom/venus/hfi_venus.h | 23 + drivers/media/platform/qcom/venus/hfi_venus_io.h | 113 ++ drivers/media/platform/qcom/venus/vdec.c | 1162 +++++++++++++++ drivers/media/platform/qcom/venus/vdec.h | 23 + drivers/media/platform/qcom/venus/vdec_ctrls.c | 158 ++ drivers/media/platform/qcom/venus/venc.c | 1283 ++++++++++++++++ drivers/media/platform/qcom/venus/venc.h | 23 + drivers/media/platform/qcom/venus/venc_ctrls.c | 270 ++++ drivers/media/v4l2-core/v4l2-mem2mem.c | 37 + include/media/v4l2-mem2mem.h | 92 ++ 29 files changed, 11157 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/qcom,venus.txt create mode 100644 drivers/media/platform/qcom/venus/Makefile create mode 100644 drivers/media/platform/qcom/venus/core.c create mode 100644 drivers/media/platform/qcom/venus/core.h create mode 100644 drivers/media/platform/qcom/venus/firmware.c create mode 100644 drivers/media/platform/qcom/venus/firmware.h create mode 100644 drivers/media/platform/qcom/venus/helpers.c create mode 100644 drivers/media/platform/qcom/venus/helpers.h create mode 100644 drivers/media/platform/qcom/venus/hfi.c create mode 100644 drivers/media/platform/qcom/venus/hfi.h create mode 100644 drivers/media/platform/qcom/venus/hfi_cmds.c create mode 100644 drivers/media/platform/qcom/venus/hfi_cmds.h create mode 100644 drivers/media/platform/qcom/venus/hfi_helper.h create mode 100644 drivers/media/platform/qcom/venus/hfi_msgs.c create mode 100644 drivers/media/platform/qcom/venus/hfi_msgs.h create mode 100644 drivers/media/platform/qcom/venus/hfi_venus.c create mode 100644 drivers/media/platform/qcom/venus/hfi_venus.h create mode 100644 drivers/media/platform/qcom/venus/hfi_venus_io.h create mode 100644 drivers/media/platform/qcom/venus/vdec.c create mode 100644 drivers/media/platform/qcom/venus/vdec.h create mode 100644 drivers/media/platform/qcom/venus/vdec_ctrls.c create mode 100644 drivers/media/platform/qcom/venus/venc.c create mode 100644 drivers/media/platform/qcom/venus/venc.h create mode 100644 drivers/media/platform/qcom/venus/venc_ctrls.c -- 2.7.4