Received: by 10.223.164.202 with SMTP id h10csp4698541wrb; Wed, 29 Nov 2017 10:21:19 -0800 (PST) X-Google-Smtp-Source: AGs4zMZzz/mg8VpRAAGCMfMbIWO70Y5JHz2AaQxn/Zy6c+RDmincm0RMoq3HrtDlBHluH7a763Wl X-Received: by 10.101.77.201 with SMTP id q9mr3610891pgt.226.1511979679106; Wed, 29 Nov 2017 10:21:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511979679; cv=none; d=google.com; s=arc-20160816; b=zt2dzuhXsu2CzHvKDVLpXr0Y0DE1h+v/4aGB4PMWSnKFaeI2C7/MBPPVdMCCmALbmP 1kDlNCXS9Y6QtASlinc0ZgAY0tq/ipwLA+47AqZiF/g7cQ/Ngw0jNdLtqmlT+pLMvB43 v0q1APvvXToWE7YXZnM2nWYczWQvBA5Jhs+5HKYBj5+kyxC5JnR9woh65bsLcdj4Cb08 /rLPz9Fpy7oi0kAsXJ6xPfV8/y8W3g1vHQjE+PkSSWWXRe1UtQyVabtQPROO8aCM5Sxa llgGIMJ45rVUtSnFWzJxkNjw1LlTX92MXKXp6ssnvSad1T6wvDZ0ZoU8+pt113H4KQri lAdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:references:cc:to:subject:from :arc-authentication-results; bh=9elViLU0rPOHJLvl27SatxtuspIq5ZYlIcn490C7ZT0=; b=V6c4c9pY8sko3ib2YruBY9RD6IIfTa9GrabeEnG3L4YU/kZwLi99cDGds1/XSVmlRM ogWvEFcgO5WzZpmYIqMgW3/cwbKXhSsT9G+052fKzsw9QxDXfW1SrZ/jzFArpdtvI28i 6ATeaUDvHwQm0F4yNvkwzEXB8TUCaKQuOQwCeHNMKgD2oOV+18A2uRZur6/5wU0gkPV+ 3OGuiNalxTFCuK8op/XrRBB3Sf8N/7ZF0SWnTamDTo8mTYwQgrn2PXNgwMzGjDrnD+Fz FZqHo49m0V+59j3Mfqyk2W9iSi7EVoPai2wOTAR/etp4UAudOLEkRb1SI7rM796vw1hq 2zDA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k22si1720495pfj.333.2017.11.29.10.21.08; Wed, 29 Nov 2017 10:21:19 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933369AbdK2Pg2 (ORCPT + 69 others); Wed, 29 Nov 2017 10:36:28 -0500 Received: from PrakOutbound.VEHosting.nl ([85.17.51.155]:59693 "EHLO Prakkezator.VEHosting.nl" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933240AbdK2Pg0 (ORCPT ); Wed, 29 Nov 2017 10:36:26 -0500 Received: from [192.168.72.211] (21-240.ftth.onsbrabantnet.nl [88.159.240.21]) (authenticated bits=0) by Prakkezator.VEHosting.nl (8.14.2/8.14.2) with ESMTP id vATFa0vp082277; Wed, 29 Nov 2017 16:36:00 +0100 (CET) (envelope-from thomas@vitsch.nl) From: Thomas van Kleef Subject: Re: [linux-sunxi] Cedrus driver To: Maxime Ripard Cc: Giulio Benetti , Hans Verkuil , Andreas Baierl , linux-sunxi , linux@armlinux.org.uk, wens@csie.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org References: <1511969761-6608110782.e622897b62@prakkezator.vehosting.nl> Organization: Vitsch Electronics Message-ID: Date: Wed, 29 Nov 2017 16:36:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171128153533.ncqe4lkgjdzjiyuw@flea.home> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit x-ve-auth-version: mi-1.3.0 2017-09-05 - Copyright (c) 2008, 2011-2012, 2014, 2016-2017 - Daan Vreeken - VEHosting x-ve-auth: authenticated as 'thomas@vitsch.nl' on Prakkezator.VEHosting.nl Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maxime, > > So there's a couple of issues with those patches (the pull request > itself is fine though :)) > > I'll try to break them down as much as possible. > > A) If you want to have proper commit logs, you will usually do two > things: first create a commit title, which is what appears in the > above summary. That commit title should not be longer than 72 > characters, and it should explain roughly what you're trying to > do. The actual description should be in the commit log itself, and > you should document what is the issue you're trying to fix / > improve, how you're doing it and why you've done it that way. Ah, so the pull-request commits are not proper, I will try do that from now on. these last ones are quite bad. > > The final line of that commit log shoud be your Signed-off-by, > which is your agreement to the Developer Certificate of Origin > (DCO), that you'll find documented here: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst#n429 > > B) Please base your work on a known release (4.14) and not the middle > of Linus' branch. Should be fixed now. > > C) I'm not sure what you tried to do with the application of the > request API patches (such as e1ca861c168f) but we want to have the > whole commits in there, and not a patch adding all of them. This > will make the work so much easier to rebase to a later version when > some patches wouldn't have been merged and some would have. > > D) Rebase :) Thank you. Giulio asked before if I could add a repo and commit the patches so that is what I did. I will push a different code where the full history is present in commits. So, I got it setup. As I did test it before on the slightly newer branch, I did not verify, again, if the video-decoder worked on this specific state of the linux kernel, 4.14. But it should x: If you rather wait for me to tell if it work let me know, but we could do a pull request then again anyway. So here is the new pull-request The following changes since commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4: Linux 4.14 (2017-11-12 10:46:13 -0800) are available in the git repository at: https://github.com/thomas-vitsch/linux-a20-cedrus.git linux-sunxi-cedrus for you to fetch changes up to 26701eca67a07ab002c7fd18038fa299b9589939: Fix the sun5i and sun8i dts files (2017-11-29 15:18:05 +0100) ---------------------------------------------------------------- Bob Ham (1): sunxi-cedrus: Fix compilation errors from bad types under GCC 6.2 Florent Revest (8): Both mainline and cedrus had added their own formats with both are added. v4l: Add MPEG2 low-level decoder API control v4l: Add MPEG4 low-level decoder API control media: platform: Add Sunxi Cedrus decoder driver sunxi-cedrus: Add a MPEG 2 codec sunxi-cedrus: Add a MPEG 4 codec sunxi-cedrus: Add device tree binding document ARM: dts: sun5i: Use video-engine node Hans Verkuil (15): videodev2.h: add max_reqs to struct v4l2_query_ext_ctrl videodev2.h: add request to v4l2_ext_controls videodev2.h: add request field to v4l2_buffer. vb2: add allow_requests flag v4l2-ctrls: add request support v4l2-ctrls: add function to apply a request. v4l2-ctrls: implement delete request(s) v4l2-ctrls: add VIDIOC_REQUEST_CMD v4l2: add initial V4L2_REQ_CMD_QUEUE support vb2: add helper function to queue request-specific buffer. v4l2-device: keep track of registered video_devices v4l2-device: add v4l2_device_req_queue vivid: add request support for video capture. v4l2-ctrls: add REQ_KEEP flag Documentation: add v4l2-requests.txt Icenowy Zheng (2): sunxi-cedrus: add syscon support ARM: dts: sun8i: add video engine support for A33 Thomas van Kleef (4): Merged requests2 into linux 4.14 Fix merge error Remove reject file from merge Fix the sun5i and sun8i dts files .../devicetree/bindings/media/sunxi-cedrus.txt | 44 ++ Documentation/video4linux/v4l2-requests.txt | 233 ++++++++ arch/arm/boot/dts/sun5i-a13-difrnce-dit4350.dts | 50 -- arch/arm/boot/dts/sun5i-a13.dtsi | 30 ++ arch/arm/boot/dts/sun8i-a33.dtsi | 39 ++ drivers/media/platform/Kconfig | 13 + drivers/media/platform/Makefile | 1 + drivers/media/platform/sunxi-cedrus/Makefile | 4 + drivers/media/platform/sunxi-cedrus/sunxi_cedrus.c | 285 ++++++++++ .../platform/sunxi-cedrus/sunxi_cedrus_common.h | 104 ++++ .../media/platform/sunxi-cedrus/sunxi_cedrus_dec.c | 588 +++++++++++++++++++++ .../media/platform/sunxi-cedrus/sunxi_cedrus_dec.h | 33 ++ .../media/platform/sunxi-cedrus/sunxi_cedrus_hw.c | 180 +++++++ .../media/platform/sunxi-cedrus/sunxi_cedrus_hw.h | 39 ++ .../platform/sunxi-cedrus/sunxi_cedrus_mpeg2.c | 152 ++++++ .../platform/sunxi-cedrus/sunxi_cedrus_mpeg4.c | 140 +++++ .../platform/sunxi-cedrus/sunxi_cedrus_regs.h | 170 ++++++ drivers/media/platform/vivid/vivid-core.c | 2 + drivers/media/platform/vivid/vivid-ctrls.c | 4 + drivers/media/platform/vivid/vivid-kthread-cap.c | 2 + drivers/media/usb/cpia2/cpia2_v4l.c | 1 + drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 4 +- drivers/media/v4l2-core/v4l2-ctrls.c | 460 ++++++++++++++-- drivers/media/v4l2-core/v4l2-dev.c | 9 + drivers/media/v4l2-core/v4l2-device.c | 28 + drivers/media/v4l2-core/v4l2-ioctl.c | 121 ++++- drivers/media/v4l2-core/v4l2-subdev.c | 78 ++- drivers/media/v4l2-core/videobuf2-v4l2.c | 28 + include/media/v4l2-ctrls.h | 45 +- include/media/v4l2-dev.h | 3 + include/media/v4l2-device.h | 6 + include/media/v4l2-fh.h | 4 + include/media/videobuf2-core.h | 3 + include/media/videobuf2-v4l2.h | 3 + include/uapi/linux/v4l2-controls.h | 68 +++ include/uapi/linux/videodev2.h | 41 +- 36 files changed, 2883 insertions(+), 132 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/sunxi-cedrus.txt create mode 100644 Documentation/video4linux/v4l2-requests.txt delete mode 100644 arch/arm/boot/dts/sun5i-a13-difrnce-dit4350.dts create mode 100644 drivers/media/platform/sunxi-cedrus/Makefile create mode 100644 drivers/media/platform/sunxi-cedrus/sunxi_cedrus.c create mode 100644 drivers/media/platform/sunxi-cedrus/sunxi_cedrus_common.h create mode 100644 drivers/media/platform/sunxi-cedrus/sunxi_cedrus_dec.c create mode 100644 drivers/media/platform/sunxi-cedrus/sunxi_cedrus_dec.h create mode 100644 drivers/media/platform/sunxi-cedrus/sunxi_cedrus_hw.c create mode 100644 drivers/media/platform/sunxi-cedrus/sunxi_cedrus_hw.h create mode 100644 drivers/media/platform/sunxi-cedrus/sunxi_cedrus_mpeg2.c create mode 100644 drivers/media/platform/sunxi-cedrus/sunxi_cedrus_mpeg4.c create mode 100644 drivers/media/platform/sunxi-cedrus/sunxi_cedrus_regs.h > > Thanks! > Maxime > Thomas van Kleef Vitsch Electronics http://Vitsch.nl/ http://VitschVPN.nl/ tel: +31-(0)40-7113051 KvK nr: 17174380 BTW nr: NL142748201B01 -- Machines en netwerken op afstand beheren? Vitsch VPN oplossing! Kijk voor meer informatie op: http://www.VitschVPN.nl/ From 1585324640748623257@xxx Tue Nov 28 15:36:33 +0000 2017 X-GM-THRID: 1584225895006680074 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread