Received: by 10.223.164.202 with SMTP id h10csp1835807wrb; Thu, 16 Nov 2017 05:16:25 -0800 (PST) X-Google-Smtp-Source: AGs4zMYdJMEltaFovCY/yc5lWVBm0kixRioluuZyPPYytSaajVS8uwuhukHS5lJmgxa/q5/ll+nW X-Received: by 10.98.34.79 with SMTP id i76mr1851794pfi.42.1510838185096; Thu, 16 Nov 2017 05:16:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510838185; cv=none; d=google.com; s=arc-20160816; b=xeR4550MaznUa5PJ7D/t+URMxFlMWAeYzoS96+qgNNE7exvsSYNNcz/ob1Q/1qk8/1 pY9c5tCxuoutFsobyRdOOlXS6OfOWXjpPOVXItMymqERI/Z6g3lWHrgqc6ZzQDX/CuFF an9j/HFDj5J6BQNViSu3jznqjOM6pZXBhVAtXZ9wrXhpoHuXjhpzZnwk0oAcOb8tXfc6 nSmbtnXN2avCf/B9J8+g4Cl0W4R3K4bzPvsNz+cdYgK4TO4QG1/VtB+HHrNYx2sEhWQ1 Rj9NmWkuRLlrtChWJTzPqy5LsVd73j7UwwV+tWYwzF7GTkXRzIUm76uXtuMgMqw0YIxi dIdQ== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=q2FBmZ2j5/KzQhk928F9Jn2TSxebal23hPsRMq46dro=; b=NDvNZs60/bfcCn3MVaolzT6xXE1h7am8p8VWkvxp+Q99WF14aQIscDT0jqgag2a+fe E/0/2abFFmgz4CBzOGm9TrI0ZTu5w2Mw9qkojyaDXZ+T4NoacE+1m98BlS2kvzIs9IJ/ UFZsyneDWsqmocHGg3qWhfel08+Ps4OPY9410mAzlSC4XQjTCL67lgLJlWfkSE8tHzOC zbnin/UwwS+VRr5q7ZwNyKu9FJ+u2bdx9R3vf+U3eP8UT8sns86GMSvEUz9KK5wtdWhx qwdmc83vA6hg1oel4CeRLSYwphLKyFcAIW35Ngxj+dmLsp4spam8bQng/Q05YYqmEl48 1rvg== 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 w10si849908pgr.25.2017.11.16.05.16.12; Thu, 16 Nov 2017 05:16:25 -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 S964924AbdKPNMu (ORCPT + 91 others); Thu, 16 Nov 2017 08:12:50 -0500 Received: from lb2-smtp-cloud9.xs4all.net ([194.109.24.26]:32936 "EHLO lb2-smtp-cloud9.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964892AbdKPNMc (ORCPT ); Thu, 16 Nov 2017 08:12:32 -0500 Received: from [192.168.1.10] ([80.101.105.217]) by smtp-cloud9.xs4all.net with ESMTPA id FJy0eTWwMnIXbFJy1eA17O; Thu, 16 Nov 2017 14:12:31 +0100 Subject: Re: [linux-sunxi] Cedrus driver To: Giulio Benetti , Maxime Ripard References: <1510059543-7064-1-git-send-email-giulio.benetti@micronovasrl.com> <1b12fa21-bfe6-9ba7-ae1d-8131ac6f4668@micronovasrl.com> <6fcdc0d9-d0f8-785a-bb00-b1b41c684e59@imkreisrum.de> <693e8786-af83-9d77-0fd4-50fa1f6a135f@micronovasrl.com> <20171116110204.poakahqjz4sj7pmu@flea> <5fcf64db-c654-37d0-5863-20379c04f99c@micronovasrl.com> <20171116125310.yavjs7352nw2sm7r@flea> Cc: Andreas Baierl , linux-sunxi , linux@armlinux.org.uk, wens@csie.org, linux-kernel@vger.kernel.org, thomas@vitsch.nl, linux-media@vger.kernel.org From: Hans Verkuil Message-ID: <6f94505d-69bb-6688-4b13-6a0ed2af8dd4@xs4all.nl> Date: Thu, 16 Nov 2017 14:12:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfMEpMQSJl5yS5RfOzsc7Afw0LpfYZCKPbEqOS/4RTPIPjpTNroLJvA3NUw9HGDZcqW1Ma0CN6jGcvhjJ3pglHrKzRKxfK3J8eBY/huadgyvUfWATR2Jr O39mzobqfCvUJAtZShZEzeF9BuLQZ3L0gdVK9Gj5f5D5hhm+5Qr4qos/HT627+b5P0266nNFtqJDLnC2/TsyrfWnOBLfQqWvpqdJBeJZjAy3bfmtVG0RjIZL CnbvQ/+UxTTeaOY7Zd4aS+xOPvahUX5wjx7iox2N9x745QxfkBV624RcSoJdfXBiPEBVCOyJ06oiyyt0ZB/yNX+2H8/h82uQoyqRmmr2MJXPR3GbtgzCXuCf AddW0iRw166NjVfHzeC1wBSaPkXBrJzOJkszZ5NTnf9kaqRNXiZiNYMXADFwlaGNIrs8/IJ8JiHoBDziz7q2bO3y0Dwz5/xmsuRAY1o1Xc18tLYdj8rDFjQo UE+8fUJ+PLOmXvpbtPC+Code3cS5V2HJi6/f0PnfYbZ50ITqqzwoUp5t+pMBbQOmxMbryxGPg6+LWVwZchh8P4POJTrg/HKMSup0QA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/11/17 13:57, Giulio Benetti wrote: > Il 16/11/2017 13:53, Maxime Ripard ha scritto: >> On Thu, Nov 16, 2017 at 01:30:52PM +0100, Giulio Benetti wrote: >>>> On Thu, Nov 16, 2017 at 11:37:30AM +0100, Giulio Benetti wrote: >>>>> Il 16/11/2017 11:31, Andreas Baierl ha scritto: >>>>>> Am 16.11.2017 um 11:13 schrieb Giulio Benetti: >>>>>>> Hello, >>>>>>> >>>>>> Hello, >>>>>>> I'm wondering why cedrus >>>>>>> https://github.com/FlorentRevest/linux-sunxi-cedrus has never been >>>>>>> merged with linux-sunxi sunxi-next. >>>>>>> >>>>>> Because it is not ready to be merged. It depends on the v4l2 request >>>>>> API, which was not merged and which is re-worked atm. >>>>>> Also, sunxi-cedrus itself is not in a finished state and is not as >>>>>> feature-complete to be merged. Anyway it might be something for >>>>>> staging... Has there been a [RFC] on the mailing list at all? >>>>> >>>>> Where can I find a list of TODOs to get it ready to be merged? >>>> >>>> Assuming that the request API is in, we'd need to: >>>> - Finish the MPEG4 support >>>> - Work on more useful codecs (H264 comes to my mind) >>>> - Implement the DRM planes support for the custom frame format >>>> - Implement the DRM planes support for scaling >>>> - Test it on more SoCs >>>> >>>> Or something along those lines. >>> >>> Lot of work to do >> >> Well... If it was fast and easy it would have been done already :) > > :)) > >> >>>>>>> I see it seems to be dead, no commit in 1 year. >>>>>> >>>>>> Yes, because the author did this during an internship, which ended ... >>>>>> Afaik nobody picked up his work yet. >>>> >>>> That's not entirely true. Some work has been done by Thomas (in CC), >>>> especially on the display engine side, but last time we talked his >>>> work was not really upstreamable. >>>> >>>> We will also resume that effort starting next march. >>> >>> Is it possible a preview on a separate Reporitory to start working on now? >>> Expecially to start porting everything done by FlorentRevest to mainline, >>> admitted you've not already done. >> >> I'm not sure what you're asking for. Florent's work *was* on mainline. > > and then they took it off because it was unmantained? > You've spoken about Thomas(in CC) not ready, > maybe I could help on that if it's public to accelerate. > If I'm able to of course, this is my primary concern. > > Otherwise, in which way can I help improving it to make it accept to linux-sunxi? > Starting from Florent's work and porting it to sunxi-next to begin? > And after that adding all features you've listed? > Tell me what I can do(I repeat, if I'm able to). The bottleneck is that the Request API is not mainlined. We restarted work on it after a meeting a few weeks back where we all agreed on the roadmap so hopefully it will go into mainline Q1 or Q2 next year. That said, you can use Florent's patch series for further development. It should be relatively easy to convert it to the final version of the Request API. Just note that the public API of the final Request API will be somewhat different from the old version Florent's patch series is using. Regards, Hans > >> >> Maxime >> > > Thank you > From 1584225895006680074@xxx Thu Nov 16 12:32:27 +0000 2017 X-GM-THRID: 1584225895006680074 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread