Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB72AC433EF for ; Thu, 2 Dec 2021 10:38:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357041AbhLBKl6 (ORCPT ); Thu, 2 Dec 2021 05:41:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241409AbhLBKl5 (ORCPT ); Thu, 2 Dec 2021 05:41:57 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 183CFC061756 for ; Thu, 2 Dec 2021 02:38:34 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id y12so114035002eda.12 for ; Thu, 02 Dec 2021 02:38:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ehrJkM+CUHyrmfsopnJn0wAZnxmyyocrjM1q1kJwX8Y=; b=4VLkCG+dx7E1PduqHRximAmE4CE4XsvpcoGwk40OaUGmDIgAgtUYqiu9HGW45rgZAP vWig5fVNPVewTGflK6J+FZJYT12rlZIfs2WxqHGGnqOHbWxo9TPn143goxHaz3NNnewp dZ9WyQcDYqQG0WVIwm/QT34m81492gXUAFuCvdHAp70v0uOzWp1aZuXvfWBbDMOpqyGU D0jizlBvCN80AXlgbL3BvSQWJc1lSX84gQcQV9iJei8eQ6b3PogPOogxMIk0re6lJGJU GwVKPT8PQtyl+tqOhkJw8qjYrlaXoLgTCoakYy7AuAuQcJkZR3f5Ukza9gjjveT6TFcL tw6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ehrJkM+CUHyrmfsopnJn0wAZnxmyyocrjM1q1kJwX8Y=; b=b7HdDjmBru95/eEedRGOt2ltCQnqAFfyevGno+Ro3UL32md6AO3CyKXZ6F8QN1s4lR iqczru6IrrXDxAS4z0Q8hP2HnBfO3a+iLMkvAQRl/9UJtgxrObrzJMens/Yn/F+Yap04 QAcq2BI8qIUA2yjJKFqjFsXzrg9cKjy0avKcw3DV+cynDQROoSW4nb/8JFaBAd5de/l+ 3JA0eofVhqZoCLTrmtapef+1eMn6QOBk1DIdi0FI6F5zr+NyTF6sXS9S4ZZ6969xyRYS ERnZZfpWjQ561Go3kBioz3Dwq+nze7hj6K/GZB3XEpSzcAtKRXSPWqJbF67X9qt8P1Px RG1A== X-Gm-Message-State: AOAM532/fPucaRY1LE5PDDS5NhQWr3NIZ5rS8crUerbYIII+/bx2hprD 2wCc0/o0pRfh1HCFn4Bzh6y1ci0QjWFqS2Y4/45Ifw== X-Google-Smtp-Source: ABdhPJynjfOwGdomnFBHQfk0Yrez9pulbplqtsSoWO+V9YB8K5XokEPS3MPKhpOBfknmi+wqmilhplYP32bD4/X93uw= X-Received: by 2002:aa7:d412:: with SMTP id z18mr16666950edq.315.1638441513077; Thu, 02 Dec 2021 02:38:33 -0800 (PST) MIME-Version: 1.0 References: <20211125155001.622405-1-benjamin.gaignard@collabora.com> <862d4ee2-8a32-9bdb-ee01-b307660f78a1@collabora.com> In-Reply-To: <862d4ee2-8a32-9bdb-ee01-b307660f78a1@collabora.com> From: Ezequiel Garcia Date: Thu, 2 Dec 2021 07:38:21 -0300 Message-ID: Subject: Re: [PATCH] media: hantro: Make G2/HEVC use hantro_postproc_ops To: Benjamin Gaignard Cc: Nicolas Dufresne , Philipp Zabel , Mauro Carvalho Chehab , Greg KH , linux-media , "open list:ARM/Rockchip SoC..." , "open list:STAGING SUBSYSTEM" , Linux Kernel Mailing List , Collabora Kernel ML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2 Dec 2021 at 06:26, Benjamin Gaignard wrote: > > > Le 01/12/2021 =C3=A0 21:53, Nicolas Dufresne a =C3=A9crit : > > Le mercredi 01 d=C3=A9cembre 2021 =C3=A0 15:20 -0300, Ezequiel Garcia a= =C3=A9crit : > >> Hi Benjamin, > >> > >> On Thu, Nov 25, 2021 at 04:50:01PM +0100, Benjamin Gaignard wrote: > >>> Use the postprocessor functions introduced by Hantro G2/VP9 codec ser= ies > >>> and remove duplicated buffer management. > >>> This allow Hantro G12/HEVC to produce NV12_4L4 and NV12. > >>> > >> Can you add the fluster score for HEVC so we confirm there are no > >> regressions? > >> > >> Also, please make sure to test with the UVG set http://ultravideo.fi/, > >> as well as testing that NV12_4L4 output converted via GStreamer's > >> videoconvert element. > > This is a bit unfortunate for performance, but fluster will endup testi= ng from > > 4L4 with how the pipeline get negotiated. Will be good to add some env = at some > > point so folks can test their CSC. > > fluster score is still 77/147 so no regressions. > NV12_4L4 is the first pixel format enumerated by the driver so it is the = one used > by fluster pipeline and it is well converted into I420 by GStreamer's vid= eoconvert. > Do not worry NV12 is also working fine :-) > > I have tested Beauty, Jockey and ShakeNDry from UVG set and I see no prob= lems. > Awesome! Since we don't have any form of CI (yet?), please add the above to the commit description and re-submit the patch. These drivers are a bit fragile unfortunately, and without a better way to keep track of testing done on each change, I feel better having this information on the commits themselves, specially for somewhat invasive changes like this. Thanks and great work! Ezequiel