Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2022781imm; Fri, 7 Sep 2018 09:37:31 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbWelLnp9unCV0q8xOBDcmhF9EkNrUQPw3uXIdvrYcJMfQlbC2nKpxCbkfTH+X7sbTeyFWQ X-Received: by 2002:a63:a5c:: with SMTP id z28-v6mr8882684pgk.209.1536338251840; Fri, 07 Sep 2018 09:37:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536338251; cv=none; d=google.com; s=arc-20160816; b=uxW+uskX2oVnFn6kVRP2SgXt7DuApnM7m+bh962mqLU2yCi0y+DrDyZKsQeaAE7iBe K+RRv9F7f5Iy5n4lMBu8Xqyd/SPS+BhFKsEmUdmOm+KJoepMJqVUP23IMyNRT6Oq3XdA PhWFxGDKMMLuJ4CJXyU20O9BamrN0nhVzAPI6OyO4NZRGbaAxFv3Wx6WanaMh0WqvhT5 MVeRDQ9ItkfWKvKalYj1Uhh16JhVG2pmbN4lzLnykR3yfggflnwKwHj2/bp937oN3/hb FXf9BvjpGxgh6IzsnPVT5xRARjTA4eB5bSKAhC+qh9iRsPLxh/qA2ELITD4Hdzh+tZH5 Wk+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=kZRdlpdWmK21lDuJ0mzESucQ4MM3Xp9BqgsU5DlGhGg=; b=ifq9vnEpHqqIEgKqCdpByhFNwoPJNz/jKyH/DqN1FY1v5tT4ifljhgdvg3+7vnRULG DInjh4Z/2tl3qfF5OJ7Jh1gBElIJV/p6EMC8YqgxVcAyA7yo6sEn6nN6TIwzHf3T9RYV U+EOyNfAd2jTqTLvHuiEEmNSU18hGwrEJZ3s5LCy26ZrF5JJpuzMPNGQv1epI5mNtlYv z24RggyXRWr2B4txvxM9KrMeR1DdlJyyLTKsaV0ieUUdrQpe/nL/o1Oi38fuXe/f60wJ JfSQVrooqL8ePvI+JLdUBvzRR6dZcPIT7XlrMx8JmWpat2hXB5CImF9ACFF9QK7pFS0I 9Kdg== 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 r9-v6si8413196pgh.500.2018.09.07.09.37.16; Fri, 07 Sep 2018 09:37:31 -0700 (PDT) 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 S1729733AbeIGTGv (ORCPT + 99 others); Fri, 7 Sep 2018 15:06:51 -0400 Received: from mail.bootlin.com ([62.4.15.54]:44068 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728701AbeIGTGv (ORCPT ); Fri, 7 Sep 2018 15:06:51 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id A49F620794; Fri, 7 Sep 2018 16:25:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (AAubervilliers-681-1-30-219.w90-88.abo.wanadoo.fr [90.88.15.219]) by mail.bootlin.com (Postfix) with ESMTPSA id 6BD2C20701; Fri, 7 Sep 2018 16:25:29 +0200 (CEST) Date: Fri, 7 Sep 2018 16:25:28 +0200 From: Maxime Ripard To: Hans Verkuil Cc: Paul Kocialkowski , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org, Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Chen-Yu Tsai , Greg Kroah-Hartman , Paul Kocialkowski , Thomas Petazzoni , linux-sunxi@googlegroups.com, Randy Li , Ezequiel Garcia , Tomasz Figa , Alexandre Courbot , Philipp Zabel , Laurent Pinchart , Sakari Ailus Subject: Re: [PATCH v9 5/9] media: platform: Add Cedrus VPU decoder driver Message-ID: <20180907142528.4daxlsd6jwnkw74h@flea> References: <20180906222442.14825-1-contact@paulk.fr> <20180906222442.14825-6-contact@paulk.fr> <4b30c0bf-e525-1868-f625-569d4a104aa0@xs4all.nl> <20180907132620.lmsvlwpa3rzioj2h@flea> <2c9689b2-c5a6-58b7-b467-fc53208ecd2d@xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2uukceuibjsjma7f" Content-Disposition: inline In-Reply-To: <2c9689b2-c5a6-58b7-b467-fc53208ecd2d@xs4all.nl> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2uukceuibjsjma7f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 07, 2018 at 03:52:00PM +0200, Hans Verkuil wrote: > On 09/07/2018 03:26 PM, Maxime Ripard wrote: > > Hi Hans, > >=20 > > On Fri, Sep 07, 2018 at 03:13:19PM +0200, Hans Verkuil wrote: > >> On 09/07/2018 12:24 AM, Paul Kocialkowski wrote: > >>> From: Paul Kocialkowski > >>> > >>> This introduces the Cedrus VPU driver that supports the VPU found in > >>> Allwinner SoCs, also known as Video Engine. It is implemented through > >>> a V4L2 M2M decoder device and a media device (used for media requests= ). > >>> So far, it only supports MPEG-2 decoding. > >>> > >>> Since this VPU is stateless, synchronization with media requests is > >>> required in order to ensure consistency between frame headers that > >>> contain metadata about the frame to process and the raw slice data th= at > >>> is used to generate the frame. > >>> > >>> This driver was made possible thanks to the long-standing effort > >>> carried out by the linux-sunxi community in the interest of reverse > >>> engineering, documenting and implementing support for the Allwinner V= PU. > >>> > >>> Signed-off-by: Paul Kocialkowski > >>> Acked-by: Maxime Ripard > >> > >> One high-level comment: > >> > >> Can you add a TODO file for this staging driver? This can be done in > >> a follow-up patch. > >> > >> It should contain what needs to be done to get this out of staging: > >> > >> - Request API needs to stabilize > >> - Userspace support for stateless codecs must be created > >=20 > > On that particular note, as part of the effort to develop the driver, > > we've also developped two userspace components: > >=20 > > - v4l2-request-test, that has a bunch of sample frames for various > > codecs and will rely solely on the kernel request api (and DRM for > > the display part) to test and bringup a particular driver > > https://github.com/bootlin/v4l2-request-test > >=20 > > - libva-v4l2-request, that is a libva implementation using the > > request API > > https://github.com/bootlin/libva-v4l2-request > >=20 > > Did you have something else in mind? >=20 > Reviewing this will be the next step. I haven't looked at the userspace c= omponents > at all yet, so I don't know yet whether it is what we expect/want/need. We meant this as a debug tool and a stop-gap measure, respectively, so it might not be what you're expecting, and I'm kind of expecting to have the libva fade away with media frameworks getting native support. > I think this might be a very good topic for the media summit in October i= f we > can get all the stakeholders together. I'll be there, so we can definitely discuss this. Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --2uukceuibjsjma7f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAluSilcACgkQ0rTAlCFN r3QE0w//beU2LXIo5m6cI3dstclD7/NHmpsmhK/SLZkGaYrHfB/UseAhQQuzqoa5 r1eRcbIm3+a/B2Ad9COXbN1pBnQyh0E5onW+4zHTvdX9Y/BbEoiXx7k7Mnx4H93j ah7iotnaR+lDq3zPhfSYUNYRhqacAZNFHLs8pYCzjYIyFz3vcNS3pnKkq5cEG6Z4 tkRkM/uIrj4WNNb9TBBjEL3XoPqQedeBzB65II7x8Pr4fJeJGSKVLgTjkY9mv4Rz 42nScz13pDPvWNlhdJNxEgDj4SHmqcN2nbPrIKp2XOjzV1jOHbjNuka2Lf0hJk1w zEl9HcPMq4jnxf+/o1C3abv9Bmf4XPwPp/pbXXGXjGFxrPb6H9RlZ8bSj4NL5Dkh pS+i/sqgHRiiu2juFJK2VyXI8guVtR1SHRH9TtOUja9n4SDMapj6JM546LRvnZdE wqOnG0W+5nvX+qxXHUWg8zCx1hZU9UBt9ZKPDGl+QHRX6YHrt+92ZU5IrA/d7UE+ ZTWE7EkDf6wQY9641F4cOuZ255JEU5ASp+V92hFydebdZNw+/+vmG2Q0zgaUnWBu m/4PEzWPTaKY4VmKPx+WBLX8DgFT3xhKtqIyolqTLskIPPE/ZSDenvkrzPOIlmYi JSh+ZSp44IsgdOSniQX4dW2kNsuOlDXZIca8lTq8R797q8K+gYY= =NH6A -----END PGP SIGNATURE----- --2uukceuibjsjma7f--