Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3827657imm; Mon, 1 Oct 2018 05:16:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV62GarVQrG3SNqOFdYH8p1K6hDmYk5kXM/N2iUoNSQO3SPRspF6gYFTWTQ3GqJZ8dr8oel6S X-Received: by 2002:a62:c252:: with SMTP id l79-v6mr11117232pfg.141.1538396202893; Mon, 01 Oct 2018 05:16:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538396202; cv=none; d=google.com; s=arc-20160816; b=FpVxuNSiVJFP9jL8WupFG4iQMg6Cuc1bH7k7/s5ucj5AlbyNd9lHTrs/1i5vNYMwzX mx+qtFx76HfmViIi8B3sexkWicPtuDXNHGQybg86xGjA5JbdeMQAxxeooIThO2tZo8Sb yCpdH+XAG+xBbpjsNQIx8Uf0YgiJvzmKVxm6X2pxgza5BSr9j/Qub1OD7bLVBFV5xRlA +Td0+WVsFejPSDqHqDZe2AakhX/1gIrQKJZEghJLnGvT0wnnOcytHp7Ya+ALdFokt5dR deCQ7FwP/bV2TdnJYl5dfexA148xDsW2UDXVDVWmVsf0O2Ei2mv8+0psgN+FGmcbtzd2 hYYg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=KZZaCkBotGjkg40kkrl1ywVdBe8BVVORb0GnXfIW6HQ=; b=vFAFwB/INdQOGIDErqgNRqy6bkXicr6K5dnGthzIBx4GEt3lgTnlAJSw0YXRL3pCPq goJbGDMKT3MTlfI5tqjP8BWmW2daGwQs64MIMBVqRsfjh12k3OAYHB8MSsRJoh0DB/tv dud3yKfiss572vY+C0vV3l8FDIMYD+LHb5NshB5VH/jYm/qWRiRlNYD5ULmvOibilZQH KiVVrIv9jpwuP8VvQeotwkR3rwuIUQp6cGVJ3rcAbqNFbVhJGq05zgBNYdgDssUHkiZ1 cvJPvf4x20zToZSPEl7lgNG/s1KUUsNq+dXFrRGG1GpbVUD32v/wUnn08YKV0xkmdZgv aSrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Nkcb1F8p; 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 96-v6si13690560pld.398.2018.10.01.05.16.24; Mon, 01 Oct 2018 05:16:42 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Nkcb1F8p; 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 S1729186AbeJASxh (ORCPT + 99 others); Mon, 1 Oct 2018 14:53:37 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40204 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728979AbeJASxg (ORCPT ); Mon, 1 Oct 2018 14:53:36 -0400 Received: by mail-wr1-f68.google.com with SMTP id y8-v6so13682336wrh.7 for ; Mon, 01 Oct 2018 05:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=KZZaCkBotGjkg40kkrl1ywVdBe8BVVORb0GnXfIW6HQ=; b=Nkcb1F8pfoNGfGromIUsWKXOSa4oR50OtkaaVgGk7rsMMUmP4r41QM1DUUxC0xZQW3 +6muR/jp/+eLxX05FAF8CgFcVCyRxYOEm16++2g8pzBTjBGueNu4xzxQDFhOF9Vv3Q4I a5sdIfCkUnJDCOAQdx1aCXjhE3FQiDm8YEkBt0GOeV0nWXClCkq9ec95rTHNELweBapA puJzAfD4XkGll4ax0FWYHAbJZ7loOVNmQA5OPenJtR7Kx8sKhlXeeA6/gEVK0uWjMnbZ 5ACm3TZGCXnw9YHVLUU6jim84zYdAQqDZcF9kItru8o9HYMqcHLXP0ZmfQF0QooRGVfS 5Lnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=KZZaCkBotGjkg40kkrl1ywVdBe8BVVORb0GnXfIW6HQ=; b=Ji85/WyscoNE7ciGilkokIKLv0Cgzuz3qlISo93jXBEUweIgc0qZ6gWVeqrAbLDMWR 1Rtett33t6mdfakkBchM/CurmYB/CCOgTHqOdyicqUG42soGQKPeSNx/kZhkH3/t1vIg RQ9K16fQEHWeUBugkWov3sOxxJmxqP9O90mJW4SyLZ85REB3yBFODo1FZf13b4ExLg5a 4SvoRyh7Pe6phK36Rdn3Qhnkk9meHXzoIrEaOqfK2TeHD6dnTEFlce2sU0q4bUkGHlpp GZSGzSrDEjsuR7FhyNC090SXRHQCMsGRpYwOUEVz9z/d7ZerMQ4jH6lcazsXCHajiK7Z 8Xuw== X-Gm-Message-State: ABuFfoi7s7SAboN3rzQOgW58YEDZRL7ZABJ/E3M+yUrlcRMAf7t38SCd PuIzDIKlGbupiwbIP/uX1Bd0/5A6J6giv6DAsE0a+Q== X-Received: by 2002:adf:a547:: with SMTP id j7-v6mr7512322wrb.220.1538396164489; Mon, 01 Oct 2018 05:16:04 -0700 (PDT) MIME-Version: 1.0 References: <20180928142816.4311-1-mjourdan@baylibre.com> In-Reply-To: From: Maxime Jourdan Date: Mon, 1 Oct 2018 14:15:53 +0200 Message-ID: Subject: Re: [PATCH v3 0/3] Add Amlogic video decoder driver To: Hans Verkuil Cc: Mauro Carvalho Chehab , Kevin Hilman , Jerome Brunet , Neil Armstrong , Martin Blumenstingl , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le lun. 1 oct. 2018 =C3=A0 12:29, Hans Verkuil a =C3= =A9crit : > > On 09/28/2018 04:28 PM, Maxime Jourdan wrote: > > Hi everyone, > > > > This patch series adds support for the Amlogic video decoder, > > as well as the corresponding dt bindings for GXBB/GXL/GXM chips. > > > > It features decoding for the following formats: > > - MPEG 1 > > - MPEG 2 > > > > The following formats will be added in future patches: > > - MJPEG > > - MPEG 4 (incl. Xvid, H.263) > > - H.264 > > - HEVC (incl. 10-bit) > > > > The following formats' development has still not started, but they are > > supported by the hardware: > > - VC1 > > - VP9 > > > > The code was made in such a way to allow easy inclusion of those format= s > > in the future. > > > > The decoder is single instance. > > > > Files: > > - vdec.c handles the V4L2 M2M logic > > - esparser.c manages the hardware bitstream parser > > - vdec_helpers.c provides helpers to DONE the dst buffers as well as > > various common code used by the codecs > > - vdec_1.c manages the VDEC_1 block of the vdec IP > > - codec_mpeg12.c enables decoding for MPEG 1/2. > > - vdec_platform.c links codec units with vdec units > > (e.g vdec_1 with codec_mpeg12) and lists all the available > > src/dst formats and requirements (max width/height, etc.), > > per compatible chip. > > > > Firmwares are necessary to run the vdec. They can currently be found at= : > > https://github.com/chewitt/meson-firmware > > Are you trying to get this into the linux-firmware repository? > > I believe that Mauro requires that before he will merge this driver. > > So I think this driver will be ready to be merged once v4 is posted, > dt-bindings is Acked and the firmware is merged to the linux-firmware rep= o. It was planned indeed to get the firmwares into linux-firmware, I'll speed this up. dt-bindings was reviewed by Rob but I forgot to add it in v3, I'll fix that in v4. Cheers, Maxime > Regards, > > Hans