From patchwork Tue May 9 15:35:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 98938 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp1883534qge; Tue, 9 May 2017 08:36:32 -0700 (PDT) X-Received: by 10.99.109.141 with SMTP id i135mr826085pgc.33.1494344192440; Tue, 09 May 2017 08:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494344192; cv=none; d=google.com; s=arc-20160816; b=EHsFh21WwD3vWR/6NXzWrLpS7AIohKJKe5/6Tq+78hE7bR2uapMZY+Fbj708E83TA6 Pq5uwMatjIge+CIg0W5Y0jgroQx2z+kLSqSIqok9aH2YSK1P5LZo50vLmSI+D/pfkBU6 7GKcYosYvJkOOW/ad1lLWIFc8pQ+jKSa7aZxFIZLAkY/clScnUWC8RLQoFbNJW74cvbg 2WpPUJWkSy+ztMNc16+OMDHmb7rcSvW9vVhxO/2ebwX98kdWY93JeJjBkD/WxSeyqKl/ q8hMMs2/mfZ6Ubn61YWNh3JQ9N0RCeiAo3RYzyoDo4/4u07Ee3Ks8YNBNZlNc1uF4YLq 9Y1g== 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=oDj4EyPg0KUyTGRist2mFnk9ppEgutKkZoI7SWNuVz4=; b=MkNEWCye99ZUv7pgf6mao+/8i/2R21qPWxEkBUTkU+dKHD571alv5lxz/NfcAQsg1u Oot3DOnKhdZsK6rYhbYGZTh8qm8C1uY+vDxfHNsFRHtYOC8bGLsWPGukST8pNXyxwqI2 Q4Rr3rdSczMyJdpaF2gLpjU4J2jPl8F6FRB8BrJG+GPuzwgvGhWJEmdJ4Kxq+SJlM/oc AiUVO4xAeJkjDROHKFBDLDK9EzkBwEX7pzUq+KzGdzFjcuBDZBGoMFmxhseNJZhk3Ot4 KXfgbnCL5JRbUu0+bpDfKxb5nFiW7OmuFMr1GBboVqzi6SXNm/JFkjl/A2Mr2xRtNZC8 8R7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (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 d8si251926pgn.60.2017.05.09.08.36.31; Tue, 09 May 2017 08:36:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754054AbdEIPga (ORCPT + 10 others); Tue, 9 May 2017 11:36:30 -0400 Received: from mail-wr0-f173.google.com ([209.85.128.173]:33885 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753963AbdEIPg3 (ORCPT ); Tue, 9 May 2017 11:36:29 -0400 Received: by mail-wr0-f173.google.com with SMTP id l9so4206288wre.1 for ; Tue, 09 May 2017 08:36:28 -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=y9DjXck7qhfWovQ51P5+oWGYFL6AnxPe5q1aldugrm8=; b=LNXfi25++UKlsFJla5RYiZoLEzM3jw4tSAJiHUx/HFZXMkH8JVqaj0TebduI7cjFQF UUllAsuaDK57Py9ftSq/U0RfMPPRzaDuy5lz7RyxtOGgC6ANvDzaHhTBV04K0lFdCKUp yY66vqPvcbaRr2IhNG5gUjOOvDaPYUIIiO89o= 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=y9DjXck7qhfWovQ51P5+oWGYFL6AnxPe5q1aldugrm8=; b=MMyrZ5HezxzXwbxdWpNMaclN8ZrZPwd5D0vF24nCdEhgk0jehfwRDa6dSDbV745V++ AzP/+YuuK/FGX+B8zTkgE7elv2JTGbGy+ecctZJJtSuKRtLfMRm4k6o1EoZ1narqaJpi 68b5G97WE0jAzsGgB/g2A2Pj2QFxp4AVnz5vR01NAzoOEMJQXrioh8d33jdwYk7PTAl/ dPjHPbBXZhODhntQdo25WmA89K7C705HIJbc7QfHRGdJ3nmo55wvS7r1q6HhNM0MmnYN XefAZ5MhjDYiJnCrBRupHI4R4mBxGz3ic3UcJCFfta3sasBcoGSJPlzZT/Wik3uOv2He HRPQ== X-Gm-Message-State: AODbwcBQXVgonps8t233ZjRpVybQireRfNyscnH9y3RIHHVc1Ct02Ias n3JWg5Rt0oD7uIqm X-Received: by 10.28.211.149 with SMTP id k143mr546919wmg.75.1494344187940; Tue, 09 May 2017 08:36:27 -0700 (PDT) Received: from mms-0440.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id b93sm272672wrd.29.2017.05.09.08.36.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 May 2017 08:36:27 -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 v9 0/9] Qualcomm video decoder/encoder driver Date: Tue, 9 May 2017 18:35:52 +0300 Message-Id: <1494344161-28131-1-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hello everyone, The changes since v8 are: * no functional changes. * dropped COMPILE_TEST support until the drivers which Venus driver selects got compile test support. * added venus_ prefix to the exported helper functions as suggested by Sakari. * fixed few signed-unsigned compare warnings. Patches applies cleanly on next-20170509 and media_tree. regards, Stan Stanimir Varbanov (9): 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 .../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 | 388 +++++ drivers/media/platform/qcom/venus/core.h | 323 ++++ drivers/media/platform/qcom/venus/firmware.c | 109 ++ drivers/media/platform/qcom/venus/firmware.h | 22 + drivers/media/platform/qcom/venus/helpers.c | 727 +++++++++ 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 | 1255 ++++++++++++++++ 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 | 1054 +++++++++++++ drivers/media/platform/qcom/venus/hfi_msgs.h | 283 ++++ drivers/media/platform/qcom/venus/hfi_venus.c | 1571 ++++++++++++++++++++ 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 | 1154 ++++++++++++++ drivers/media/platform/qcom/venus/vdec.h | 23 + drivers/media/platform/qcom/venus/vdec_ctrls.c | 150 ++ 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, 11137 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 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html