Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1544019imm; Sat, 4 Aug 2018 05:45:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdeUbMQJzWKaQT3cGsmseleJKczXCy5IIr5If7pl7qPXDHz6ZLgX+JJkzDcZ5d2GJPYvAai X-Received: by 2002:a63:cc04:: with SMTP id x4-v6mr7489633pgf.33.1533386711533; Sat, 04 Aug 2018 05:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533386711; cv=none; d=google.com; s=arc-20160816; b=Uy+vZ8Ka+AP84wnRy5OhCHb5B0vER+7a3zm7ioGWCr/Qxfar3AKi3GOJTezdv/l8Gb AqEc99yq0LuTI9Xsk9y8i1HSUp6MitafmqCGE+8SDGvB/oM/FJKerCERTAuk3baMpSdY 5PgYyhVFl1IfV9JjTt+pvRDuDoifJIq0FfDsHfi3N0IQwHHsVyGfBOsIr3XraK8xK9+6 reUaIJdIKHTFhLqUlcE03zViJLNHnv9a/7KrTacih8brY72ilZSMrgE6u2QK/BmtET+y 0Qy/KR0ylA+UKgmj+P86I30hIMNMZHjBX9+pJmGhdDJSMZRSPI227Fmu+vOaQO/Izqkt m2Sg== 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:from:references:cc:to:subject:arc-authentication-results; bh=YSm1Cj7QiKGfPDCX8y1s+7EvBuFNIfKQ3lWQViaAOGg=; b=ftnJYXk/yrVHcTra3F07YHy7WfI6xAkdFquAAw22abg7PPJGpb2ZUMw224T+6vmtVp SkgRTboDmtuOgLrKO88DjKHjKNFNnzHAkudgZCwOfVsvvaVZ/k4o4ESrbq0dyghKc45R WTCpzM3nrQbRWJv8u37B57d1Uapjyt8vh3fDdDRwj2PuZNnD0js6y99J43pAQcsSnadn pZloCy+ugN51ECX8fzc1gbam66QGEFbZ8Ql5Vptjwxtq4b/t/i/266+c4s0SzekEUkS+ UFkUXN7LGDrZHELMhIQ5Ss+BPUS0ZuY75CI9TRz5fyveUxqWJ3CBI1MskyTMGGBskxnD DAvA== 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 k38-v6si7421317pgm.335.2018.08.04.05.44.56; Sat, 04 Aug 2018 05:45:11 -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 S1728456AbeHDOoc (ORCPT + 99 others); Sat, 4 Aug 2018 10:44:32 -0400 Received: from lb2-smtp-cloud7.xs4all.net ([194.109.24.28]:44006 "EHLO lb2-smtp-cloud7.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726744AbeHDOob (ORCPT ); Sat, 4 Aug 2018 10:44:31 -0400 Received: from [192.168.2.10] ([212.251.195.8]) by smtp-cloud7.xs4all.net with ESMTPA id lvuOfCz5A6brUlvuSfFLs6; Sat, 04 Aug 2018 14:43:53 +0200 Subject: Re: [PATCH v6 0/8] Cedrus driver for the Allwinner Video Engine, using media requests To: 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 Cc: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Greg Kroah-Hartman , Thomas Petazzoni , linux-sunxi@googlegroups.com, Hugues Fruchet , Randy Li , Ezequiel Garcia , Tomasz Figa , Alexandre Courbot , Philipp Zabel , Laurent Pinchart , Sakari Ailus References: <20180725100256.22833-1-paul.kocialkowski@bootlin.com> From: Hans Verkuil Message-ID: <4e8a0286-7e49-5622-1895-ac3268224152@xs4all.nl> Date: Sat, 4 Aug 2018 14:43:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20180725100256.22833-1-paul.kocialkowski@bootlin.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfFzPnAa1QZX/9m5xmsvcyD0giK4Z9S47S2BA/Q58q2cfLtjzU2QzjCraeViylQAAhYn0QYSa+u8LE2SxFHa5QN3gak9kfAAUZaxy6VVkAe9mVE0SD0QW +hSdFRuiDFUxYSMRQldGfw6BwaRRZB4cicvaIbsYuF/B+0igmfIFf9PcetjybQjVc6aISKG7XZi7VqTSoVuMzwWEE0Y603zFcM6Byu8CfLB7RsOYEUj0haxw j24bhGY9rFLlz44KpdLZRVwabruYgyaK1HkB/paIhY5qCTsYSfou8axxObY1d1cdl1XJORtK8uwBvXBJK+0TFcuho45tl19LaScaPD/kd4fumJMMFUJaeJR3 xRjm8BHvU0ui8m0AHKwuhMrnH+wwByiGDtbkJvOUUDTV1oJoyowPbBI3BAxqle20cyEP5nkicT402sRiksCA06RiqoOEXF2a2/Eeb5cIU/vchxwEm7kG2ohk L+ybuvG0JewB+r5dd3tUtTlc5HPnnl4uAdUToa7B1XkfCqi6e1X9TsH6ZNmw0V8KhpQHXsXe6PzF1OZCOxsSZCOELW3v7ENu+AcQdL1SpCdXsBDR/wIXoqzF JFWLoB3jSuTaAMwQflv/uLqxDN0b7GTNTzra7ONGZy+hyKZ9NXpraU/DEQ+OeUkpSTGtNGVv7zRXPP+F4OtUviVQ6VX8ASkofatg4tF1mOExS2J/uAn9hUjQ gBsDT2SCqste1Z3QY8GwdZpgy+d/nnL+UCgdQZJmPbFfLB+46ZrirjDsPgHQL/O/BtYh6n2kXDxx0N8X6QaQRFII10gIKG1/OclEp5tWAfyERv3yqGlZmMAA VOkHCP3h1/p25w1UzHwn0T7Kw5+qJnZ99sRw7dbWg5QmQACcIIZfow7ZYS5lshuLwtfOmcbIAXo4Olueed7IxUg5BxCH6LQCrzBggKpHPXOGQLmkvimCkHqa coh9b/1CAq8NhfKd5LY82albQW1v/B1IouQOlmlhMXFa2+E3ipnwGpEoLAnJ/6zAk8w9lnhPMLXk3dzL0ZqF9pWEkgFIj7MNEIsO0bzV4BZj4exjYhsaP4jW AVCknMONXWJdE84i7KB9GOKD8qCDkI2upEY= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/25/2018 12:02 PM, Paul Kocialkowski wrote: > This is the sixth iteration of the updated Cedrus driver, > that supports the Video Engine found in most Allwinner SoCs, starting > with the A10. It was tested on the A13, A20, A33 and H3. > > The initial version of this driver[0] was originally written and > submitted by Florent Revest using a previous version of the request API > that is necessary to provide coherency between controls and the buffers > they apply to. > > The driver was adapted to use the latest version of the media request > API[1], as submitted by Hand Verkuil. Media request API support is a > hard requirement for the Cedrus driver. > > The driver itself currently only supports MPEG2 and more codecs will be > added to the driver eventually. The output frames provided by the > Video Engine are in a multi-planar 32x32-tiled YUV format, with a plane > for luminance (Y) and a plane for chrominance (UV). A specific format is > introduced in the V4L2 API to describe it. > > This implementation is based on the significant work that was conducted > by various members of the linux-sunxi community for understanding and > documenting the Video Engine's innards. > > In addition to the media requests API, the following series are required > for Cedrus: > * vicodec: the Virtual Codec driver This will appear in for 4.19. > * allwinner: a64: add SRAM controller / system control > * SRAM patches from the Cedrus VPU driver series version 5 What about these? Are they queued up for 4.19 as well? I'll post a rebased reqv17 later today that includes the "add v4l2_ctrl_request_hdl_find/put/ctrl_find functions" patch. Regards, Hans