From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75EB4C433FE for ; Thu, 25 Nov 2021 15:58:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=WJIDqJwtodPtz+J3DEp/B7a9mws1jqdDnxBiGDlEnDM=; b=1EV4bYHMpKqavr mOOtUcJv9ZxVUp8+Kh8W2SyVa7Bji++d73Wu9F+MTz9+dpStJCGJ4iLSK0E+cv8O7e6Kc5abVrelZ zlTGh5JlpMbeP9zXDxZxbYxf46w4YXDkYEZ410pQGERGf0LA/bQ77ew9Y1CMmE5fYjFX37C2iVpnw z0pZhk8Xg2fO71EydinGjCxjRjDMPJZRxnClNNrt74HbZRjWVdbzAblOtdVohwbevC6G5z2cFpD4A RuITG7uqYKKCDwGbOOHplDWhCxA+P0/liOflOOE218K4OO7SyMDIk9p5o4lg6FyF5X694BWNU5LSo 7432g1dv9P6yVwAcxjNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqH7O-0088L2-Ky; Thu, 25 Nov 2021 15:57:03 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqH7I-0088Ho-9N for linux-arm-kernel@lists.infradead.org; Thu, 25 Nov 2021 15:56:58 +0000 Received: from benjamin-XPS-13-9310.. (unknown [IPv6:2a01:e0a:120:3210:2581:f820:804e:edb9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: benjamin.gaignard) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 6C9131F464B1; Thu, 25 Nov 2021 15:56:53 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=collabora.com; s=mail; t=1637855813; bh=gY+zp9vPvH8Yfyvu4eMVhjohWxix4aAoiT0fFLyuGyc=; h=From:To:Cc:Subject:Date:From; b=d6EhfGJWltZKcP2P4XEpqUawVG3xWktoaszQ4AwlUA19QRsRO3BK/Yc+N6SJyrfWk UCUKbM5abqyzV3BUH1P6dMbc/Zy40Ja9iYInXHWUpO9HCs0+zkJ3Ca/ZSLmIMNLYbp Pnj+cKyhWTYffAyh9Da6vx6qcuMutMDgpjZ3WShYMpXCXG6h5x8YNlRbdXLo/PsOmJ pN5sN7XeJgSoqXfbZXOPD+5OJcCn+ED3fKcAPevtEJpfKwDuc0a7FA9vxEv+Lcurp+ GEK9HAss9dbm9kDoK5EJ9qPsm2LeYtVVbkiHaugYEYrjuGZoYbCf4hx3m2/MUGYl8D XdhES0Jf0MEsA== From: Benjamin Gaignard To: mchehab@kernel.org, ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, hverkuil-cisco@xs4all.nl Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, kernel@collabora.com, Benjamin Gaignard Subject: [PATCH v3 0/4] media: HEVC: RPS clean up Date: Thu, 25 Nov 2021 16:56:46 +0100 Message-Id: <20211125155650.630977-1-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211125_075656_477529_4E6B5FBE X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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). version 3: - rebased on top of v5.16-rc1 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel