From patchwork Thu Mar 28 09:34:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 13608314 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 8627BC54E67 for ; Thu, 28 Mar 2024 09:35:05 +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=SEauMLryYJ1JT6WYn0wPVs7/7p2PsBMQGXBlsSUqoUY=; b=eTg2g/4M/woTlT /gOrTyuX991mxA5kMgDquhrcHled339xanqVCPflv8Yzs+4W4YuSKzXr7sk049JxsZxUg0DMZ630G 8Fen7T7z6szx9DHtXP4DBsVHAz3GIAhG+RAD+YQExQx5xT8SzMYdAiALXMp3nmGhp2exue04VP711 EBLHZrChWZj5u/44My5pu5BGMK2UCWmA56HOSLZ+VWDDTHEoohiMIUWWcgPzsKX72Q7eipmH44yWQ Gts9S3CEkhYqDZJIJbxVPPIVNXEOMqmFyKXSWhR3pUlq3kdJypngSG4nSPqLRIjOfVZaKSaWh53SF xoCEAJDcvcY3WlMmPtxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpm9r-0000000DMp4-1i9v; Thu, 28 Mar 2024 09:34:51 +0000 Received: from madrid.collaboradmins.com ([46.235.227.194]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpm9o-0000000DMmm-3NMB; Thu, 28 Mar 2024 09:34:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1711618485; bh=rzOR/SQyYYN02F8+nxnnUUb/7ROlgWUvJTqH3GuWMSo=; h=From:To:Cc:Subject:Date:From; b=MLHdlc3P+nix/YLt9j0iEfYhWBPXeREvzJFFpz9oDGuMr8XKIb/xq3u4X6FYl3CjQ IxKLc2gLiAdvRMBFwumNh/6GnwTF1xi9zwXVpCVQ5JdTMIcwonkUQiLwSXZ3lNwefq xoI7hZCxXpvqTtgThR+QNd56hUgS4gV791tdtEXMq9hXK9SV15Uke8TZ7Ku8sB30mk youFGeB5CT8bX6hVEQDThp+D7agEOFzDBkoiqHHWppoXQZh471tVvocOJcgJ5kz3G4 Be3ELSeOwQ2F+Ns/RMAMfEt+hHnN8GjKYqF6kvAnopYOGt4hya2O2ywCxUvtM2926f +W+JsW2F05NoQ== Received: from benjamin-XPS-13-9310.. (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: benjamin.gaignard) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 654D13782112; Thu, 28 Mar 2024 09:34:45 +0000 (UTC) From: Benjamin Gaignard To: ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, mchehab@kernel.org, heiko@sntech.de Cc: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Benjamin Gaignard Subject: [PATCH] media: verisilicon: AV1: Be more fexible on postproc capabilities Date: Thu, 28 Mar 2024 10:34:38 +0100 Message-Id: <20240328093439.18712-1-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240328_023449_186987_55EB6B0E X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org RK3588 post-processor block is able to convert 10 bits streams into 8 bits pixels format. Signed-off-by: Benjamin Gaignard Fixes: 003afda97c65 ("media: verisilicon: Enable AV1 decoder on rk3588") Reviewed-by: Nicolas Dufresne --- drivers/media/platform/verisilicon/rockchip_vpu_hw.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/verisilicon/rockchip_vpu_hw.c b/drivers/media/platform/verisilicon/rockchip_vpu_hw.c index f97527670783..964122e7c355 100644 --- a/drivers/media/platform/verisilicon/rockchip_vpu_hw.c +++ b/drivers/media/platform/verisilicon/rockchip_vpu_hw.c @@ -82,7 +82,6 @@ static const struct hantro_fmt rockchip_vpu981_postproc_fmts[] = { { .fourcc = V4L2_PIX_FMT_NV12, .codec_mode = HANTRO_MODE_NONE, - .match_depth = true, .postprocessed = true, .frmsize = { .min_width = ROCKCHIP_VPU981_MIN_SIZE,