Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2537527pxb; Tue, 12 Oct 2021 08:35:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB4Ql2kQE79BRrTikHJiqeslSVfryIAUPTxCncI6gyh5bcFfrbsEAeqSP4w1ryeZ8+tJNS X-Received: by 2002:a17:903:22c9:b0:13e:ed56:70e2 with SMTP id y9-20020a17090322c900b0013eed5670e2mr30698483plg.19.1634052956617; Tue, 12 Oct 2021 08:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634052956; cv=none; d=google.com; s=arc-20160816; b=K+7NLtbWwfwVK5NOcgleS+j1/9cDB2CiNXRejZiZh7Vapp91Ll8trjTf7SppXtXXRK YpNG3rP+tDSlhG1ae4nk694fM+wtmsmeHbVKvzfzRB+/oGN6eONMpEcxdkSHMQNZwk2I fgDDEu7XPbhG9LgAlhQFVuGLu+BVVg4fEB6MI8XlrtT6+URa1LVobrZdpbcrJ+U09oUA ZSvHUJQZBVZvh4KLWznidbxe2ILPGQrHWZk9c7Z2sGYadVeXtPjpMuImo4w/EiEKZ8T0 ZIj+Gjia8hGk6xR7LLm2a9MgWb12L1faTLxeqGD+9Ge5lzZQ+v0G96cQk+88wu8jSuBN cbvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BP/Jzg1o84avvBiAAVMKsyPyktS8JE3pNY0emzlJRR4=; b=dum10LRFhE43IiBidyV1vm8bugcQwcdzMi7yZ0jpfE70mihQH66kYEyjaYinNbJoR8 vcgDr+sFe/xLR/0KqeXG/cYsbCf9N3N8CIlnaDNRNE/uYKshX8HLQ/3Iyy0x/wnL8hw/ zfguftRdTPbrG2I047rhyky1X8+Bhv2LYgh1yZMr6w/eitJjCsE5KOMjQTGOcIIJhzRM s10P2el2xOrjfql5/bSsgQ+0iPdEtJ/QMslzCX0nr0+f5K0a5J5w4x3aMCWJQ9mM2ase q6Qy3+S+cbGbj9pdlTVMz1orM+HzrXYIYDXork3aFLcJltpo9rPecbZXLrMXc6ZW4f8+ vt1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ECwqR6XR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si15536540pgi.36.2021.10.12.08.35.41; Tue, 12 Oct 2021 08:35:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ECwqR6XR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237309AbhJLPgg (ORCPT + 99 others); Tue, 12 Oct 2021 11:36:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237192AbhJLPgZ (ORCPT ); Tue, 12 Oct 2021 11:36:25 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EB6DC061745; Tue, 12 Oct 2021 08:34:23 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id k7so68000065wrd.13; Tue, 12 Oct 2021 08:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BP/Jzg1o84avvBiAAVMKsyPyktS8JE3pNY0emzlJRR4=; b=ECwqR6XRApqzjnKzFwgGgnGPhONoNpqYRGNWWmqUAk/S2Kl0ketM+2GZniFXr+WEHW Q/gR1ZiIJL6XEiiU5Xf/vYUrnHHzMxIkKLY76jNIEUEeXfPg4gDk80U/47j2kLsKTFY6 mSSKzus4KuRovaOlCiCoB/JtSXXiGYgZZMMVrVyZ40TZFRIDyUZfF1RaiP+Drj6EfFPR G4os43c51rOxBbv+wtClXXDwV/5obJ2M9vZxWRVRaXOv043mRuRLoaVJZH4gRdN77F29 TNiDok6/LdinixEar9eHYa1jVsKu3G6tbhg/kGlNTlrguc/7Sa2tFA9weEN1H8uTF6Ak VGnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BP/Jzg1o84avvBiAAVMKsyPyktS8JE3pNY0emzlJRR4=; b=PksXipY/HgUjL5CeP7M6XLXJKW1Yh8nuFvoCha8zSOu4zuYzQBi4Hvh3sDRN+JjeRr VLxGoUvpZraRXDGW5/PoZuqmfXZpUVdegID25FGvQXchPZFWpf560E46agiu/33gHMO5 0jTL0Bzz6GO8yKrYnT2TRYVu/RAOuR5NnNR9W/IoE/FnUYKidNmcAiNcn62z7Dm8cBxW zn+aeJYD5KgMvqN3oxQNlh72YcNWvfp77hijMO2yKvv8lsetDZ6UbUJ49WPLDz0rQXyC VrJ+rPq9WP6rhUI9i9kLaiDwg6IdfSjEEBBsiqJherChA/FMJ3uncrz1zuLO9yO3YJyR s8Zg== X-Gm-Message-State: AOAM531clalO032KVi4OssAsNjz8jf8CnAxZAyo8F84UDf47dx5xgf3G 0Y427tQo5TaoHM+sDdIUc6Y1olS2r5NdJg== X-Received: by 2002:adf:a387:: with SMTP id l7mr32531103wrb.214.1634052862098; Tue, 12 Oct 2021 08:34:22 -0700 (PDT) Received: from kista.localnet (cpe-86-58-29-253.static.triera.net. [86.58.29.253]) by smtp.gmail.com with ESMTPSA id q12sm2735972wmj.6.2021.10.12.08.34.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 08:34:21 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: mchehab@kernel.org, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, mripard@kernel.org, paul.kocialkowski@bootlin.com, wens@csie.org, hverkuil-cisco@xs4all.nl, jc@kynesim.co.uk, ezequiel@vanguardiasur.com.ar, Benjamin Gaignard Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Benjamin Gaignard Subject: Re: [PATCH v2 0/4] media: HEVC: RPS clean up Date: Tue, 12 Oct 2021 17:34:19 +0200 Message-ID: <21222555.EfDdHjke4D@kista> In-Reply-To: <20211012143552.661751-1-benjamin.gaignard@collabora.com> References: <20211012143552.661751-1-benjamin.gaignard@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Benjamin! Dne torek, 12. oktober 2021 ob 16:35:48 CEST je Benjamin Gaignard napisal(a): > This series aims to clean up Reference Picture Set usage and flags. > > Long term flag was named with RPS prefix while it is not used for RPS > but for mark long term references in DBP. Remane it and remove the two > other useless RPS flags. > > Clarify documentation about RPS lists content and make sure that Hantro > driver use them correctly (i.e without look up in DBP). > > These patches are the last in my backlog impacting HEVC uAPI. > From my point of view, once they get merged, you could start talking > about how move HEVC uAPI to stable. With your changes, HEVC uAPI controls still won't be complete. Cedrus needs entry point control, which in turn needs dynamic array support. I'm a bit lazy implementing that control, but I guess I can take a look in a month or so. rkvdec also needs more fields for HEVC. With patches collected here: https://github.com/LibreELEC/LibreELEC.tv/blob/master/projects/Rockchip/ patches/linux/default/linux-2001-v4l-wip-rkvdec-hevc.patch fluster HEVC test score is reportedly 121/135 (8-bit tests only). I would certainly wait with moving HEVC uAPI to stable. Best regards, Jernej > > version 2: > - change DPB field name from rps to flags > > Please note that the only purpose of commits 3 and 4 is to allow to test > G2 hardware block for IMX8MQ until a proper solution isuing power domain > can be found. Do not merge them. > > GStreamer HEVC plugin merge request can be found here: > https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1079 > > With those piece of code fluster score is 77/147. > > Benjamin > > Benjamin Gaignard (4): > media: hevc: Remove RPS named flags > media: hevc: Embedded indexes in RPS > media: hantro: Use syscon instead of 'ctrl' register > arm64: dts: imx8mq: Add node to G2 hardware > > .../media/v4l/ext-ctrls-codec.rst | 14 +++--- > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 43 +++++++++++++---- > drivers/staging/media/hantro/hantro.h | 5 +- > .../staging/media/hantro/hantro_g2_hevc_dec.c | 27 +++-------- > drivers/staging/media/hantro/imx8m_vpu_hw.c | 48 ++++++++++++------- > .../staging/media/sunxi/cedrus/cedrus_h265.c | 2 +- > include/media/hevc-ctrls.h | 6 +-- > 7 files changed, 84 insertions(+), 61 deletions(-) > > -- > 2.30.2 > >