Message ID | 20250721105520.5625-1-kyrie.wu@mediatek.com (mailing list archive) |
---|---|
Headers |
Received: from sv.mirrors.kernel.org ([139.178.88.99]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <linux-media+bounces-38153-patchwork=linuxtv.org@vger.kernel.org>) id 1udoBN-000707-1d for patchwork@linuxtv.org; Mon, 21 Jul 2025 10:55:46 +0000 Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E92123AE1D4 for <patchwork@linuxtv.org>; Mon, 21 Jul 2025 10:55:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B49D2900AF; Mon, 21 Jul 2025 10:55:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="Ec79H3Fe" X-Original-To: linux-media@vger.kernel.org Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71EB227FB05; Mon, 21 Jul 2025 10:55:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.244.123.138 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753095334; cv=none; b=knC1vxX1Dsx1qFmlMGcP8KOy9jVcxvu1DRyL6izQgTL0fDQRf7l8vBWmoLi9qPTGG0dGS5mickzBkDiQ7imi8zqZ08BPoD9PeTn+21U2eXTlJXshjDMn1ufFALGDRtYe13+WPFoYZ7THR3HnPEPWUPzAeMpFZbUVkJ2VNw0m9nQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753095334; c=relaxed/simple; bh=fXcS9LJrKy3fyaFS6MAFazOSxDl29WJLtuzmByGfK6Q=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ORvFhrK0EL+ORsW/IsvJSo7rPVIfzfdw7yhNRAs/Tdox1qPKqul2RE4ZR368QMAATTxBFWlp7lUJDgHP7mt3S9zotPR/AGUE57+31nJZE66S3vJHYMygSiZzPw2XSX+lHt+GrF4+wLU7Tx+pYoeXLNWMBOws4YG15UPRwSLHNgc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=Ec79H3Fe; arc=none smtp.client-ip=60.244.123.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 34f843e8662111f08b7dc59d57013e23-20250721 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=ERYLmLHDMtQaW5CnlplBGLG0KrL1ezjyn7RIdDMQ7CU=; b=Ec79H3FeF3+E0kH6phkH5FlUnRruFJ6M3WYrdxdus2btBh3SAReZUeG1ryd88R9pGvSqIgnaLd3zIs88/t8Xtk9gjmTUDSzGewpL7b1+39zNBv6ZsZVIPAwaJqsAwn83jUhCsr5PWWpsM/5flCnbY5xwcOhMyKwM+/QXuXKPzwg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.2,REQID:2407bd2b-5507-498f-8fc2-f1ce1e496c53,IP:0,UR L:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION:r elease,TS:0 X-CID-META: VersionHash:9eb4ff7,CLOUDID:8f1b1b9a-32fc-44a3-90ac-aa371853f23f,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0|50,EDM:-3,IP:ni l,URL:99|1,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0, LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULS X-CID-RHF: D41D8CD98F00B204E9800998ECF8427E X-UUID: 34f843e8662111f08b7dc59d57013e23-20250721 Received: from mtkmbs09n2.mediatek.inc [(172.21.101.94)] by mailgw01.mediatek.com (envelope-from <kyrie.wu@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1088322993; Mon, 21 Jul 2025 18:55:25 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by MTKMBS14N1.mediatek.inc (172.21.101.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.39; Mon, 21 Jul 2025 18:55:24 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1258.39 via Frontend Transport; Mon, 21 Jul 2025 18:55:23 +0800 From: Kyrie Wu <kyrie.wu@mediatek.com> To: Tiffany Lin <tiffany.lin@mediatek.com>, Andrew-CT Chen <andrew-ct.chen@mediatek.com>, Yunfei Dong <yunfei.dong@mediatek.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Kyrie Wu <kyrie.wu@mediatek.com>, Hans Verkuil <hverkuil@xs4all.nl>, Nicolas Dufresne <nicolas.dufresne@collabora.com>, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, Sebastian Fricke <sebastian.fricke@collabora.com>, Nathan Hebert <nhebert@chromium.org>, Arnd Bergmann <arnd@arndb.de>, Irui Wang <irui.wang@mediatek.com>, George Sun <george.sun@mediatek.com>, <linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org> CC: Neil Armstrong <neil.armstrong@linaro.org>, Andrzej Pietrasiewicz <andrzejtp2010@gmail.com> Subject: [PATCH v1 0/8] Enable video decoder & encoder for MT8189 Date: Mon, 21 Jul 2025 18:55:12 +0800 Message-ID: <20250721105520.5625-1-kyrie.wu@mediatek.com> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-MTK: N X-LSpam-Score: -8.6 (--------) X-LSpam-Report: No, score=-8.6 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_PASS=-0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,RCVD_IN_VALIDITY_CERTIFIED=-3,RCVD_IN_VALIDITY_RPBL=1.31,RCVD_IN_VALIDITY_SAFE=-2,SPF_HELO_NONE=0.001,SPF_PASS=-0.001,UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no |
Series |
Enable video decoder & encoder for MT8189
|
|
Message
Kyrie Wu (吴晗)
July 21, 2025, 10:55 a.m. UTC
This series have the follow changing: Firstly add mt8189 video decoder compatible, profile and level to support MT8189 kernel driver. Secondly fix some bugs, including vp 4K profile2 and media device node number bug. Lastly, add mt8189 video encoder compatible. This series has been tested with MT8189 tast test. Encoding and decoding worked for this chip. Patches 1-2 Add decoder compatible. Patches 3 Add profile and level supporting. Patches 4 Add core-only VP9 decoding supporting. Patches 5-6 fix some bugs. Patches 7-8 Adds encoder compatible. --- This series patches dependent on: [1] https://patchwork.linuxtv.org/project/linux-media/cover/20250510075357.11761-1-yunfei.dong@mediatek.com/ [2] https://patchwork.linuxtv.org/project/linux-media/cover/20250528063633.14054-1-irui.wang@mediatek.com/ Kyrie Wu (8): dt-bindings: media: mediatek: decoder: Add MT8189 mediatek,vcodec-decoder media: mediatek: vcodec: add decoder compatible to support MT8189 media: mediatek: vcodec: add profile and level supporting for MT8189 media: mediatek: vcodec: Add core-only VP9 decoding support for MT8189 media: mediatek: vcodec: fix vp9 4096x2176 fail for profile2 media: mediatek: vcodec: fix media device node number dt-bindings: media: Add MT8189 mediatek,vcodec-encoder media: mediatek: encoder: Add MT8189 encoder compatible data .../media/mediatek,vcodec-encoder.yaml | 2 ++ .../media/mediatek,vcodec-subdev-decoder.yaml | 1 + .../vcodec/decoder/mtk_vcodec_dec_drv.c | 9 +++++- .../vcodec/decoder/mtk_vcodec_dec_drv.h | 1 + .../vcodec/decoder/mtk_vcodec_dec_stateless.c | 4 +++ .../vcodec/decoder/vdec/vdec_vp9_req_lat_if.c | 32 ++++++++++++------- .../vcodec/encoder/mtk_vcodec_enc_drv.c | 14 ++++++++ 7 files changed, 50 insertions(+), 13 deletions(-)