{"id":812303,"url":"http://patchwork.ozlabs.org/api/covers/812303/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/cover/1505126644-18396-1-git-send-email-jacob-chen@iotwrt.com/","project":{"id":19,"url":"http://patchwork.ozlabs.org/api/projects/19/?format=json","name":"Linux IMX development","link_name":"linux-imx","list_id":"linux-imx-kernel.lists.patchwork.ozlabs.org","list_email":"linux-imx-kernel@lists.patchwork.ozlabs.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1505126644-18396-1-git-send-email-jacob-chen@iotwrt.com>","list_archive_url":null,"date":"2017-09-11T10:44:00","name":"[v8,0/4] Add Rockchip RGA V4l2 support","submitter":{"id":68530,"url":"http://patchwork.ozlabs.org/api/people/68530/?format=json","name":"Jacob Chen","email":"jacob-chen@iotwrt.com"},"mbox":"http://patchwork.ozlabs.org/project/linux-imx/cover/1505126644-18396-1-git-send-email-jacob-chen@iotwrt.com/mbox/","series":[{"id":2474,"url":"http://patchwork.ozlabs.org/api/series/2474/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/list/?series=2474","date":"2017-09-11T10:44:00","name":"Add Rockchip RGA V4l2 support","version":8,"mbox":"http://patchwork.ozlabs.org/series/2474/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/812303/comments/","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"ZYt8drwc\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xrPh45KP5z9s7f\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tMon, 11 Sep 2017 20:44:50 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drMCo-0004l0-Me; Mon, 11 Sep 2017 10:44:42 +0000","from mail-pf0-f195.google.com ([209.85.192.195])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1drMCh-0004f6-FP; Mon, 11 Sep 2017 10:44:38 +0000","by mail-pf0-f195.google.com with SMTP id f84so4738049pfj.3;\n\tMon, 11 Sep 2017 03:44:13 -0700 (PDT)","from localhost.localdomain ([103.29.142.67])\n\tby smtp.gmail.com with ESMTPSA id\n\tg5sm13214843pgo.66.2017.09.11.03.44.09\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 11 Sep 2017 03:44:12 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=5V0ooDQiYPcwLZxLw0ACNXtT7zpAeU43+yeVq7Z+Xno=;\n\tb=ZYt\n\t8drwcxbI/dxrH3ABHNmRNfBkdGGdGXbvbKWo0xI+FPOiIikL4yvDoVeYIURuEd3vaOdQDTBOFaG7V\n\ttTg6Ee5w3TLk07WHszs6naU0a1TTcSI7EHeqovda6H/jKBtUt93a5o4ocQEx33SKYVqh3l+5oOjhg\n\tZOjgvAnJKbKhNtWHpudBVp+Ttd8fQF5i+kmZSk7NgLC45Jo8qITDgDAsumBrHi1das8vIgnRr8E+0\n\thwLBB2jkWPMrsZu/r6sQ06oabmVweRyXVa0atE7YzYGHmYOUBziSGclZDWc712+qxYOE0kPieDrBj\n\tbeAL47pFJG6s2lTe4LoN0Woyl1zyr1g==;","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=Y808f5AJnAuqV7+297Re2FOo5XoC5txmkRw1Vngkgg0=;\n\tb=TuSCWYZYbNqoIZGhJHF20r0yElJKjfD7AKgeKpOreE4jHHNbNmfINWEqKjs0Uy3j+t\n\tN0w1z6KmpKy6u1QProVozJgHM77RDWz2OdYhV6D/h5ZJnZzp3VPmFQJNe2qZvmRvcvAu\n\tYnW9ERPKrGsMY6dticlKaFuhCdKn0F7MZuJjJvpZ3mrY3GYEse35pOXgDNxWxmYWiKDH\n\tb8b3uH+GPZpndy4UqV2UvMkk4esUhJh6io2kLR/dPZBM14MfM3gM0OQJx7N9ZH07YRDp\n\tGmhgL0fP4wvrMZeiSSKIzDj7ifHhs8xVUgpMxN5Tu9okZi9TxA0ctlKdoLHpmurO10aw\n\tXKlQ==","X-Gm-Message-State":"AHPjjUh7wIqNqDRCZ2/KYud2oHPRDHrMZpvFVoDGbvhn9+/DknLHYLD+\n\tZG4l4tUt5uT5/RBb","X-Google-Smtp-Source":"ADKCNb5nH+/2gqLY061qZLAOLhVEuIstehRLfFUTET5+BU9me2rPkjWQhGO2DJNoCro9fl+oNzmq/A==","X-Received":"by 10.98.33.80 with SMTP id h77mr5847784pfh.18.1505126653127;\n\tMon, 11 Sep 2017 03:44:13 -0700 (PDT)","From":"Jacob Chen <jacob-chen@iotwrt.com>","To":"linux-rockchip@lists.infradead.org","Subject":"[PATCH v8 0/4] Add Rockchip RGA V4l2 support","Date":"Mon, 11 Sep 2017 18:44:00 +0800","Message-Id":"<1505126644-18396-1-git-send-email-jacob-chen@iotwrt.com>","X-Mailer":"git-send-email 2.7.4","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170911_034435_568473_30112204 ","X-CRM114-Status":"UNSURE (   9.82  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-3.8 (---)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-3.8 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t0.5 RCVD_IN_SORBS_SPAM     RBL: SORBS: sender is a spam source\n\t[209.85.192.195 listed in dnsbl.sorbs.net]\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno trust [209.85.192.195 listed in list.dnswl.org]\n\t-2.8 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)\n\t[209.85.192.195 listed in wl.mailspike.net]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends\n\tin digit (jacobchen110[at]gmail.com)\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (jacobchen110[at]gmail.com)\n\t0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level\n\tmail domains are different\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and\n\tEnvelopeFrom freemail headers are different","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"devicetree@vger.kernel.org, laurent.pinchart+renesas@ideasonboard.com,\n\theiko@sntech.de, Jacob Chen <jacob-chen@iotwrt.com>,\n\tlinux-kernel@vger.kernel.org, tfiga@chromium.org, robh+dt@kernel.org, \n\thans.verkuil@cisco.com, nicolas@ndufresne.ca, mchehab@kernel.org,\n\tlinux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"},"content":"This patch series add a v4l2 m2m drvier for rockchip RGA direct rendering based 2d graphics acceleration module.\n\nRecently I tried to add protduff support for gstreamer on rockchip platform, and i found that API \nwere not very suitable for my purpose. \nIt shouldn't go upstream until we can figure out what people need, \n\nchange in V8:\n- remove protduff things\n\nchange in V6,V7:\n- correct warning in checkpatch.pl\n\nchange in V5:\n- v4l2-compliance: handle invalid pxielformat \n- v4l2-compliance: add subscribe_event\n- add colorspace support\n\nchange in V4:\n- document the controls.\n- change according to Hans's comments\n\nchange in V3:\n- rename the controls.\n- add pm_runtime support.\n- enable node by default.\n- correct spelling in documents.\n\nchange in V2:\n- generalize the controls.\n- map buffers (10-50 us) in every cmd-run rather than in buffer-import to avoid get_free_pages failed on\nactively used systems.\n- remove status in dt-bindings examples.\n\n\nJacob Chen (4):\n  rockchip/rga: v4l2 m2m support\n  ARM: dts: rockchip: add RGA device node for RK3288\n  arm64: dts: rockchip: add RGA device node for RK3399\n  dt-bindings: Document the Rockchip RGA bindings\n\n .../devicetree/bindings/media/rockchip-rga.txt     |   33 +\n arch/arm/boot/dts/rk3288.dtsi                      |   11 +\n arch/arm64/boot/dts/rockchip/rk3399.dtsi           |   11 +\n drivers/media/platform/Kconfig                     |   11 +\n drivers/media/platform/Makefile                    |    2 +\n drivers/media/platform/rockchip-rga/Makefile       |    3 +\n drivers/media/platform/rockchip-rga/rga-buf.c      |  156 +++\n drivers/media/platform/rockchip-rga/rga-hw.c       |  435 ++++++++\n drivers/media/platform/rockchip-rga/rga-hw.h       |  437 +++++++++\n drivers/media/platform/rockchip-rga/rga.c          | 1035 ++++++++++++++++++++\n drivers/media/platform/rockchip-rga/rga.h          |  110 +++\n 11 files changed, 2244 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/media/rockchip-rga.txt\n create mode 100644 drivers/media/platform/rockchip-rga/Makefile\n create mode 100644 drivers/media/platform/rockchip-rga/rga-buf.c\n create mode 100644 drivers/media/platform/rockchip-rga/rga-hw.c\n create mode 100644 drivers/media/platform/rockchip-rga/rga-hw.h\n create mode 100644 drivers/media/platform/rockchip-rga/rga.c\n create mode 100644 drivers/media/platform/rockchip-rga/rga.h"}