Message ID | 20231030100626.12564-1-moudy.ho@mediatek.com (mailing list archive) |
---|---|
Headers |
Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from <linux-media-owner@vger.kernel.org>) id 1qxPLQ-00BXJG-RC; Mon, 30 Oct 2023 10:18:05 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232770AbjJ3KSD (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Mon, 30 Oct 2023 06:18:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232699AbjJ3KRp (ORCPT <rfc822;linux-media@vger.kernel.org>); Mon, 30 Oct 2023 06:17:45 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B95638A4D; Mon, 30 Oct 2023 03:06:36 -0700 (PDT) X-UUID: fe52ce4a770b11eea33bb35ae8d461a2-20231030 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=2qf029zKImaqvb5SsJmSaoFTjXpmdfSEtv+yshu28lg=; b=q2oBgzy1kNS+932AOgaRJBgLVwRCrHIaTB0iujkG61zWxxpnqL+miy7EFo9Sq3L9IS0qfa7RymRmE+CVgJEFNsSEhdu5ppJ+Y+uXcweXOw0iYU4+l6BhBHHyTi3gWr7GUQQ075sQOkrKG1yCZhHxYcVikmPwPiZd3rx1w6kxaG8=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.33,REQID:81e12eff-ea83-4863-8981-aa971ff47764,IP:0,U RL:0,TC:0,Content:-25,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:-25 X-CID-META: VersionHash:364b77b,CLOUDID:d319effb-4a48-46e2-b946-12f04f20af8c,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File: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 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_ULS,TF_CID_SPAM_SNR X-UUID: fe52ce4a770b11eea33bb35ae8d461a2-20231030 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from <moudy.ho@mediatek.com>) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 312591729; Mon, 30 Oct 2023 18:06:29 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Mon, 30 Oct 2023 18:06:27 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Mon, 30 Oct 2023 18:06:27 +0800 From: Moudy Ho <moudy.ho@mediatek.com> To: Mauro Carvalho Chehab <mchehab@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Hans Verkuil <hverkuil-cisco@xs4all.nl> CC: <linux-kernel@vger.kernel.org>, <linux-media@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org>, Moudy Ho <moudy.ho@mediatek.com> Subject: [PATCH v8 00/12] add support MDP3 on MT8195 platform Date: Mon, 30 Oct 2023 18:06:14 +0800 Message-ID: <20231030100626.12564-1-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--18.704900-8.000000 X-TMASE-MatchedRID: vwHXk5rRCdnNwJnbTIxiVZ1U1lojafr/KFFZAe4nyZ5ZLD9SNJ9sEk/C 7C10JE7vlxXsWefaKyQ4NT9VmpIVG37QimhNRbiFsaPcs3T4TL303H/AL/kEgCA6eO+NDmAxcBN nFh5vroA0vNkQCVkCn3zYR+i+7PFG2NhVUKB97ZfkKCFOKwAEzCe0wHaFmKTnHV7css6yDrd1gn ekL1c23oo3wUq84o6S/7l2PK3+X0ZNlZ1zEcyAY6ngbqTYC4GHAp2H6RIMlDj6D0wudS7I8fPi0 g2BVe72kair/cnER5mbS8kIn9TRL7gFJkVTA0wMJhFEQZiq2ZQPvvXMhNbDoN9RlPzeVuQQferf cA33REVKHrWNUyYKVnATsg8MODVIHxPMjOKY7A9dxfSjljcolMRB0bsfrpPI6T/LTDsmJmg= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--18.704900-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: D6C1849147E2FF1D65ECAAE868C6A66EA35BA9D9BBB08CCD1E701EE64BD057582000:8 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -4.8 (----) X-LSpam-Report: No, score=-4.8 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no |
Series |
add support MDP3 on MT8195 platform
|
|
Message
Moudy Ho (何宗原)
Oct. 30, 2023, 10:06 a.m. UTC
Changes since v7: - Rebase on linux-next. - Dependent dtsi files: https://patchwork.kernel.org/project/linux-mediatek/list/?series=797543 - Dependent bindings: https://patchwork.kernel.org/project/linux-mediatek/list/?series=797555 - Patch [9/12] has made corresponding adjustments in response to the changes in the compatible name of the PAD component in DTSI and binding. - Adding WROT compatible name in the MDP driver's of_match_table in [9/12] to avoid deactivating 'pm_runtime_*' functions. Changes since v6: - Rebase on v6.6-rc5. - Dependent dtsi files: https://patchwork.kernel.org/project/linux-mediatek/list/?series=792079 - Dependent bindings: https://patchwork.kernel.org/project/linux-mediatek/list/?series=792477 - Move the patch that fixes compile warnings from this series and create a separate standalone patch. Changes since v5: - Rebase on v6.6-rc2. - Dependent dtsi files: https://patchwork.kernel.org/project/linux-mediatek/list/?series=786511 - Dependent bindings: https://patchwork.kernel.org/project/linux-mediatek/list/?series=786520 - Integrate MMSY/MUTEX structure in "mdp_probe". - Fix the build warnings that were detected by the linux-media build scripts tool. Changes since v4: - Rebase on v6.6-rc1 - Remove any unnecessary DTS settings. - Adjust the usage of MOD and clock in blending components. Changes since v3: - Depend on : [1] https://patchwork.kernel.org/project/linux-media/list/?series=719841 - Suggested by Krzysztof, integrating all newly added bindings for the mt8195 MDP3 into the file "mediatek,mt8195-mdp3.yaml". - Revise MDP3 nodes with generic names. Changes since v2: - Depend on : [1] MMSYS/MUTEX: https://patchwork.kernel.org/project/linux-mediatek/list/?series=711592 [2] MDP3: https://patchwork.kernel.org/project/linux-mediatek/list/?series=711618 - Suggested by Rob to revise MDP3 bindings to pass dtbs check - Add parallel paths feature. - Add blended components settings. Changes since v1: - Depend on : [1] MDP3 : https://patchwork.kernel.org/project/linux-mediatek/list/?series=698872 [2] MMSYS/MUTEX: https://patchwork.kernel.org/project/linux-mediatek/list/?series=684959 - Fix compilation failure due to use of undeclared identifier in file "mtk-mdp3-cmdq.c" Hello, This patch is used to add support for MDP3 on the MT8195 platform that contains more picture quality components, and can arrange more pipelines through two sets of MMSYS and MUTEX respectively. Moudy Ho (12): media: platform: mtk-mdp3: add support second sets of MMSYS media: platform: mtk-mdp3: add support second sets of MUTEX media: platform: mtk-mdp3: introduce more pipelines from MT8195 media: platform: mtk-mdp3: introduce more MDP3 components media: platform: mtk-mdp3: add checks for dummy components media: platform: mtk-mdp3: avoid multiple driver registrations media: platform: mtk-mdp3: extend GCE event waiting in RDMA and WROT media: platform: mtk-mdp3: add support for blending multiple components media: platform: mtk-mdp3: add mt8195 platform configuration media: platform: mtk-mdp3: add mt8195 shared memory configurations media: platform: mtk-mdp3: add mt8195 MDP3 component settings media: platform: mtk-mdp3: add support for parallel pipe to improve FPS .../platform/mediatek/mdp3/mdp_cfg_data.c | 729 +++++++++++++- .../platform/mediatek/mdp3/mdp_reg_aal.h | 25 + .../platform/mediatek/mdp3/mdp_reg_color.h | 31 + .../media/platform/mediatek/mdp3/mdp_reg_fg.h | 23 + .../platform/mediatek/mdp3/mdp_reg_hdr.h | 31 + .../platform/mediatek/mdp3/mdp_reg_merge.h | 25 + .../platform/mediatek/mdp3/mdp_reg_ovl.h | 25 + .../platform/mediatek/mdp3/mdp_reg_pad.h | 21 + .../platform/mediatek/mdp3/mdp_reg_rdma.h | 24 + .../platform/mediatek/mdp3/mdp_reg_rsz.h | 2 + .../platform/mediatek/mdp3/mdp_reg_tdshp.h | 34 + .../platform/mediatek/mdp3/mdp_reg_wrot.h | 8 + .../platform/mediatek/mdp3/mdp_sm_mt8195.h | 283 ++++++ .../platform/mediatek/mdp3/mtk-img-ipi.h | 4 + .../platform/mediatek/mdp3/mtk-mdp3-cfg.h | 2 + .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 440 +++++++-- .../platform/mediatek/mdp3/mtk-mdp3-cmdq.h | 1 + .../platform/mediatek/mdp3/mtk-mdp3-comp.c | 895 +++++++++++++++++- .../platform/mediatek/mdp3/mtk-mdp3-comp.h | 93 +- .../platform/mediatek/mdp3/mtk-mdp3-core.c | 139 ++- .../platform/mediatek/mdp3/mtk-mdp3-core.h | 50 +- .../platform/mediatek/mdp3/mtk-mdp3-m2m.c | 15 + .../platform/mediatek/mdp3/mtk-mdp3-regs.c | 18 + .../platform/mediatek/mdp3/mtk-mdp3-regs.h | 1 + .../platform/mediatek/mdp3/mtk-mdp3-vpu.c | 3 +- 25 files changed, 2744 insertions(+), 178 deletions(-) create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_aal.h create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_color.h create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_fg.h create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_hdr.h create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_merge.h create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_ovl.h create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_pad.h create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_tdshp.h create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_sm_mt8195.h
Comments
On Mon, 2023-10-30 at 18:06 +0800, Moudy Ho wrote: > Changes since v7: > - Rebase on linux-next. > - Dependent dtsi files: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=797543 > - Dependent bindings: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=797555 The dependency bindings have been updated to v9 as shown in the link below. https://patchwork.kernel.org/project/linux-mediatek/list/?series=797824 Thanks, Moudy > - Patch [9/12] has made corresponding adjustments in response to the > changes in > the compatible name of the PAD component in DTSI and binding. > - Adding WROT compatible name in the MDP driver's of_match_table in > [9/12] to > avoid deactivating 'pm_runtime_*' functions. > > Changes since v6: > - Rebase on v6.6-rc5. > - Dependent dtsi files: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=792079 > - Dependent bindings: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=792477 > - Move the patch that fixes compile warnings from this series and > create a separate standalone patch. > > Changes since v5: > - Rebase on v6.6-rc2. > - Dependent dtsi files: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=786511 > - Dependent bindings: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=786520 > - Integrate MMSY/MUTEX structure in "mdp_probe". > - Fix the build warnings that were detected by the linux-media > build scripts tool. > > Changes since v4: > - Rebase on v6.6-rc1 > - Remove any unnecessary DTS settings. > - Adjust the usage of MOD and clock in blending components. > > Changes since v3: > - Depend on : > [1] > https://patchwork.kernel.org/project/linux-media/list/?series=719841 > - Suggested by Krzysztof, integrating all newly added bindings for > the mt8195 MDP3 into the file "mediatek,mt8195-mdp3.yaml". > - Revise MDP3 nodes with generic names. > > Changes since v2: > - Depend on : > [1] MMSYS/MUTEX: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=711592 > [2] MDP3: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=711618 > - Suggested by Rob to revise MDP3 bindings to pass dtbs check > - Add parallel paths feature. > - Add blended components settings. > > Changes since v1: > - Depend on : > [1] MDP3 : > https://patchwork.kernel.org/project/linux-mediatek/list/?series=698872 > [2] MMSYS/MUTEX: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=684959 > - Fix compilation failure due to use of undeclared identifier in file > "mtk-mdp3-cmdq.c" > > Hello, > > This patch is used to add support for MDP3 on the MT8195 platform > that > contains more picture quality components, and can arrange more > pipelines > through two sets of MMSYS and MUTEX respectively. > > Moudy Ho (12): > media: platform: mtk-mdp3: add support second sets of MMSYS > media: platform: mtk-mdp3: add support second sets of MUTEX > media: platform: mtk-mdp3: introduce more pipelines from MT8195 > media: platform: mtk-mdp3: introduce more MDP3 components > media: platform: mtk-mdp3: add checks for dummy components > media: platform: mtk-mdp3: avoid multiple driver registrations > media: platform: mtk-mdp3: extend GCE event waiting in RDMA and > WROT > media: platform: mtk-mdp3: add support for blending multiple > components > media: platform: mtk-mdp3: add mt8195 platform configuration > media: platform: mtk-mdp3: add mt8195 shared memory configurations > media: platform: mtk-mdp3: add mt8195 MDP3 component settings > media: platform: mtk-mdp3: add support for parallel pipe to improve > FPS > > .../platform/mediatek/mdp3/mdp_cfg_data.c | 729 +++++++++++++- > .../platform/mediatek/mdp3/mdp_reg_aal.h | 25 + > .../platform/mediatek/mdp3/mdp_reg_color.h | 31 + > .../media/platform/mediatek/mdp3/mdp_reg_fg.h | 23 + > .../platform/mediatek/mdp3/mdp_reg_hdr.h | 31 + > .../platform/mediatek/mdp3/mdp_reg_merge.h | 25 + > .../platform/mediatek/mdp3/mdp_reg_ovl.h | 25 + > .../platform/mediatek/mdp3/mdp_reg_pad.h | 21 + > .../platform/mediatek/mdp3/mdp_reg_rdma.h | 24 + > .../platform/mediatek/mdp3/mdp_reg_rsz.h | 2 + > .../platform/mediatek/mdp3/mdp_reg_tdshp.h | 34 + > .../platform/mediatek/mdp3/mdp_reg_wrot.h | 8 + > .../platform/mediatek/mdp3/mdp_sm_mt8195.h | 283 ++++++ > .../platform/mediatek/mdp3/mtk-img-ipi.h | 4 + > .../platform/mediatek/mdp3/mtk-mdp3-cfg.h | 2 + > .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 440 +++++++-- > .../platform/mediatek/mdp3/mtk-mdp3-cmdq.h | 1 + > .../platform/mediatek/mdp3/mtk-mdp3-comp.c | 895 > +++++++++++++++++- > .../platform/mediatek/mdp3/mtk-mdp3-comp.h | 93 +- > .../platform/mediatek/mdp3/mtk-mdp3-core.c | 139 ++- > .../platform/mediatek/mdp3/mtk-mdp3-core.h | 50 +- > .../platform/mediatek/mdp3/mtk-mdp3-m2m.c | 15 + > .../platform/mediatek/mdp3/mtk-mdp3-regs.c | 18 + > .../platform/mediatek/mdp3/mtk-mdp3-regs.h | 1 + > .../platform/mediatek/mdp3/mtk-mdp3-vpu.c | 3 +- > 25 files changed, 2744 insertions(+), 178 deletions(-) > create mode 100644 > drivers/media/platform/mediatek/mdp3/mdp_reg_aal.h > create mode 100644 > drivers/media/platform/mediatek/mdp3/mdp_reg_color.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_fg.h > create mode 100644 > drivers/media/platform/mediatek/mdp3/mdp_reg_hdr.h > create mode 100644 > drivers/media/platform/mediatek/mdp3/mdp_reg_merge.h > create mode 100644 > drivers/media/platform/mediatek/mdp3/mdp_reg_ovl.h > create mode 100644 > drivers/media/platform/mediatek/mdp3/mdp_reg_pad.h > create mode 100644 > drivers/media/platform/mediatek/mdp3/mdp_reg_tdshp.h > create mode 100644 > drivers/media/platform/mediatek/mdp3/mdp_sm_mt8195.h >
Il 30/10/23 11:06, Moudy Ho ha scritto: > Changes since v7: > - Rebase on linux-next. > - Dependent dtsi files: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=797543 > - Dependent bindings: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=797555 > - Patch [9/12] has made corresponding adjustments in response to the changes in > the compatible name of the PAD component in DTSI and binding. > - Adding WROT compatible name in the MDP driver's of_match_table in [9/12] to > avoid deactivating 'pm_runtime_*' functions. > On MT8195 Cherry Tomato Chromebook, whole series is Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > Changes since v6: > - Rebase on v6.6-rc5. > - Dependent dtsi files: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=792079 > - Dependent bindings: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=792477 > - Move the patch that fixes compile warnings from this series and > create a separate standalone patch. > > Changes since v5: > - Rebase on v6.6-rc2. > - Dependent dtsi files: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=786511 > - Dependent bindings: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=786520 > - Integrate MMSY/MUTEX structure in "mdp_probe". > - Fix the build warnings that were detected by the linux-media > build scripts tool. > > Changes since v4: > - Rebase on v6.6-rc1 > - Remove any unnecessary DTS settings. > - Adjust the usage of MOD and clock in blending components. > > Changes since v3: > - Depend on : > [1] https://patchwork.kernel.org/project/linux-media/list/?series=719841 > - Suggested by Krzysztof, integrating all newly added bindings for > the mt8195 MDP3 into the file "mediatek,mt8195-mdp3.yaml". > - Revise MDP3 nodes with generic names. > > Changes since v2: > - Depend on : > [1] MMSYS/MUTEX: https://patchwork.kernel.org/project/linux-mediatek/list/?series=711592 > [2] MDP3: https://patchwork.kernel.org/project/linux-mediatek/list/?series=711618 > - Suggested by Rob to revise MDP3 bindings to pass dtbs check > - Add parallel paths feature. > - Add blended components settings. > > Changes since v1: > - Depend on : > [1] MDP3 : https://patchwork.kernel.org/project/linux-mediatek/list/?series=698872 > [2] MMSYS/MUTEX: https://patchwork.kernel.org/project/linux-mediatek/list/?series=684959 > - Fix compilation failure due to use of undeclared identifier in file "mtk-mdp3-cmdq.c" > > Hello, > > This patch is used to add support for MDP3 on the MT8195 platform that > contains more picture quality components, and can arrange more pipelines > through two sets of MMSYS and MUTEX respectively. > > Moudy Ho (12): > media: platform: mtk-mdp3: add support second sets of MMSYS > media: platform: mtk-mdp3: add support second sets of MUTEX > media: platform: mtk-mdp3: introduce more pipelines from MT8195 > media: platform: mtk-mdp3: introduce more MDP3 components > media: platform: mtk-mdp3: add checks for dummy components > media: platform: mtk-mdp3: avoid multiple driver registrations > media: platform: mtk-mdp3: extend GCE event waiting in RDMA and WROT > media: platform: mtk-mdp3: add support for blending multiple > components > media: platform: mtk-mdp3: add mt8195 platform configuration > media: platform: mtk-mdp3: add mt8195 shared memory configurations > media: platform: mtk-mdp3: add mt8195 MDP3 component settings > media: platform: mtk-mdp3: add support for parallel pipe to improve > FPS > > .../platform/mediatek/mdp3/mdp_cfg_data.c | 729 +++++++++++++- > .../platform/mediatek/mdp3/mdp_reg_aal.h | 25 + > .../platform/mediatek/mdp3/mdp_reg_color.h | 31 + > .../media/platform/mediatek/mdp3/mdp_reg_fg.h | 23 + > .../platform/mediatek/mdp3/mdp_reg_hdr.h | 31 + > .../platform/mediatek/mdp3/mdp_reg_merge.h | 25 + > .../platform/mediatek/mdp3/mdp_reg_ovl.h | 25 + > .../platform/mediatek/mdp3/mdp_reg_pad.h | 21 + > .../platform/mediatek/mdp3/mdp_reg_rdma.h | 24 + > .../platform/mediatek/mdp3/mdp_reg_rsz.h | 2 + > .../platform/mediatek/mdp3/mdp_reg_tdshp.h | 34 + > .../platform/mediatek/mdp3/mdp_reg_wrot.h | 8 + > .../platform/mediatek/mdp3/mdp_sm_mt8195.h | 283 ++++++ > .../platform/mediatek/mdp3/mtk-img-ipi.h | 4 + > .../platform/mediatek/mdp3/mtk-mdp3-cfg.h | 2 + > .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 440 +++++++-- > .../platform/mediatek/mdp3/mtk-mdp3-cmdq.h | 1 + > .../platform/mediatek/mdp3/mtk-mdp3-comp.c | 895 +++++++++++++++++- > .../platform/mediatek/mdp3/mtk-mdp3-comp.h | 93 +- > .../platform/mediatek/mdp3/mtk-mdp3-core.c | 139 ++- > .../platform/mediatek/mdp3/mtk-mdp3-core.h | 50 +- > .../platform/mediatek/mdp3/mtk-mdp3-m2m.c | 15 + > .../platform/mediatek/mdp3/mtk-mdp3-regs.c | 18 + > .../platform/mediatek/mdp3/mtk-mdp3-regs.h | 1 + > .../platform/mediatek/mdp3/mtk-mdp3-vpu.c | 3 +- > 25 files changed, 2744 insertions(+), 178 deletions(-) > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_aal.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_color.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_fg.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_hdr.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_merge.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_ovl.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_pad.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_tdshp.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_sm_mt8195.h >
Hi Angelo, Le lundi 06 novembre 2023 à 13:45 +0100, AngeloGioacchino Del Regno a écrit : > Il 30/10/23 11:06, Moudy Ho ha scritto: > > Changes since v7: > > - Rebase on linux-next. > > - Dependent dtsi files: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=797543 > > - Dependent bindings: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=797555 > > - Patch [9/12] has made corresponding adjustments in response to the changes in > > the compatible name of the PAD component in DTSI and binding. > > - Adding WROT compatible name in the MDP driver's of_match_table in [9/12] to > > avoid deactivating 'pm_runtime_*' functions. > > > > On MT8195 Cherry Tomato Chromebook, whole series is > > Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Would you mind dropping a short description of what your test consist ? Which userspace have been used, did you cover all the pixel formats combination ? Did you test scaling, rotation, etc. ? Nicolas > > > Changes since v6: > > - Rebase on v6.6-rc5. > > - Dependent dtsi files: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=792079 > > - Dependent bindings: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=792477 > > - Move the patch that fixes compile warnings from this series and > > create a separate standalone patch. > > > > Changes since v5: > > - Rebase on v6.6-rc2. > > - Dependent dtsi files: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=786511 > > - Dependent bindings: > > https://patchwork.kernel.org/project/linux-mediatek/list/?series=786520 > > - Integrate MMSY/MUTEX structure in "mdp_probe". > > - Fix the build warnings that were detected by the linux-media > > build scripts tool. > > > > Changes since v4: > > - Rebase on v6.6-rc1 > > - Remove any unnecessary DTS settings. > > - Adjust the usage of MOD and clock in blending components. > > > > Changes since v3: > > - Depend on : > > [1] https://patchwork.kernel.org/project/linux-media/list/?series=719841 > > - Suggested by Krzysztof, integrating all newly added bindings for > > the mt8195 MDP3 into the file "mediatek,mt8195-mdp3.yaml". > > - Revise MDP3 nodes with generic names. > > > > Changes since v2: > > - Depend on : > > [1] MMSYS/MUTEX: https://patchwork.kernel.org/project/linux-mediatek/list/?series=711592 > > [2] MDP3: https://patchwork.kernel.org/project/linux-mediatek/list/?series=711618 > > - Suggested by Rob to revise MDP3 bindings to pass dtbs check > > - Add parallel paths feature. > > - Add blended components settings. > > > > Changes since v1: > > - Depend on : > > [1] MDP3 : https://patchwork.kernel.org/project/linux-mediatek/list/?series=698872 > > [2] MMSYS/MUTEX: https://patchwork.kernel.org/project/linux-mediatek/list/?series=684959 > > - Fix compilation failure due to use of undeclared identifier in file "mtk-mdp3-cmdq.c" > > > > Hello, > > > > This patch is used to add support for MDP3 on the MT8195 platform that > > contains more picture quality components, and can arrange more pipelines > > through two sets of MMSYS and MUTEX respectively. > > > > Moudy Ho (12): > > media: platform: mtk-mdp3: add support second sets of MMSYS > > media: platform: mtk-mdp3: add support second sets of MUTEX > > media: platform: mtk-mdp3: introduce more pipelines from MT8195 > > media: platform: mtk-mdp3: introduce more MDP3 components > > media: platform: mtk-mdp3: add checks for dummy components > > media: platform: mtk-mdp3: avoid multiple driver registrations > > media: platform: mtk-mdp3: extend GCE event waiting in RDMA and WROT > > media: platform: mtk-mdp3: add support for blending multiple > > components > > media: platform: mtk-mdp3: add mt8195 platform configuration > > media: platform: mtk-mdp3: add mt8195 shared memory configurations > > media: platform: mtk-mdp3: add mt8195 MDP3 component settings > > media: platform: mtk-mdp3: add support for parallel pipe to improve > > FPS > > > > .../platform/mediatek/mdp3/mdp_cfg_data.c | 729 +++++++++++++- > > .../platform/mediatek/mdp3/mdp_reg_aal.h | 25 + > > .../platform/mediatek/mdp3/mdp_reg_color.h | 31 + > > .../media/platform/mediatek/mdp3/mdp_reg_fg.h | 23 + > > .../platform/mediatek/mdp3/mdp_reg_hdr.h | 31 + > > .../platform/mediatek/mdp3/mdp_reg_merge.h | 25 + > > .../platform/mediatek/mdp3/mdp_reg_ovl.h | 25 + > > .../platform/mediatek/mdp3/mdp_reg_pad.h | 21 + > > .../platform/mediatek/mdp3/mdp_reg_rdma.h | 24 + > > .../platform/mediatek/mdp3/mdp_reg_rsz.h | 2 + > > .../platform/mediatek/mdp3/mdp_reg_tdshp.h | 34 + > > .../platform/mediatek/mdp3/mdp_reg_wrot.h | 8 + > > .../platform/mediatek/mdp3/mdp_sm_mt8195.h | 283 ++++++ > > .../platform/mediatek/mdp3/mtk-img-ipi.h | 4 + > > .../platform/mediatek/mdp3/mtk-mdp3-cfg.h | 2 + > > .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 440 +++++++-- > > .../platform/mediatek/mdp3/mtk-mdp3-cmdq.h | 1 + > > .../platform/mediatek/mdp3/mtk-mdp3-comp.c | 895 +++++++++++++++++- > > .../platform/mediatek/mdp3/mtk-mdp3-comp.h | 93 +- > > .../platform/mediatek/mdp3/mtk-mdp3-core.c | 139 ++- > > .../platform/mediatek/mdp3/mtk-mdp3-core.h | 50 +- > > .../platform/mediatek/mdp3/mtk-mdp3-m2m.c | 15 + > > .../platform/mediatek/mdp3/mtk-mdp3-regs.c | 18 + > > .../platform/mediatek/mdp3/mtk-mdp3-regs.h | 1 + > > .../platform/mediatek/mdp3/mtk-mdp3-vpu.c | 3 +- > > 25 files changed, 2744 insertions(+), 178 deletions(-) > > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_aal.h > > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_color.h > > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_fg.h > > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_hdr.h > > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_merge.h > > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_ovl.h > > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_pad.h > > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_tdshp.h > > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_sm_mt8195.h > > >
Hey Moudy Ho, just as a quick note, as this series is based on linux-next, we will wait for the patches, that this series is depending on, to be merged into the media_stage repository (https://git.linuxtv.org/media_stage.git/), before we merge this series into the media subsystem. Greetings, Sebastian On 30.10.2023 18:06, Moudy Ho wrote: >Changes since v7: >- Rebase on linux-next. >- Dependent dtsi files: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=797543 >- Dependent bindings: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=797555 >- Patch [9/12] has made corresponding adjustments in response to the changes in > the compatible name of the PAD component in DTSI and binding. >- Adding WROT compatible name in the MDP driver's of_match_table in [9/12] to > avoid deactivating 'pm_runtime_*' functions. > >Changes since v6: >- Rebase on v6.6-rc5. >- Dependent dtsi files: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=792079 >- Dependent bindings: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=792477 >- Move the patch that fixes compile warnings from this series and > create a separate standalone patch. > >Changes since v5: >- Rebase on v6.6-rc2. >- Dependent dtsi files: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=786511 >- Dependent bindings: > https://patchwork.kernel.org/project/linux-mediatek/list/?series=786520 >- Integrate MMSY/MUTEX structure in "mdp_probe". >- Fix the build warnings that were detected by the linux-media > build scripts tool. > >Changes since v4: >- Rebase on v6.6-rc1 >- Remove any unnecessary DTS settings. >- Adjust the usage of MOD and clock in blending components. > >Changes since v3: >- Depend on : > [1] https://patchwork.kernel.org/project/linux-media/list/?series=719841 >- Suggested by Krzysztof, integrating all newly added bindings for > the mt8195 MDP3 into the file "mediatek,mt8195-mdp3.yaml". >- Revise MDP3 nodes with generic names. > >Changes since v2: >- Depend on : > [1] MMSYS/MUTEX: https://patchwork.kernel.org/project/linux-mediatek/list/?series=711592 > [2] MDP3: https://patchwork.kernel.org/project/linux-mediatek/list/?series=711618 >- Suggested by Rob to revise MDP3 bindings to pass dtbs check >- Add parallel paths feature. >- Add blended components settings. > >Changes since v1: >- Depend on : > [1] MDP3 : https://patchwork.kernel.org/project/linux-mediatek/list/?series=698872 > [2] MMSYS/MUTEX: https://patchwork.kernel.org/project/linux-mediatek/list/?series=684959 >- Fix compilation failure due to use of undeclared identifier in file "mtk-mdp3-cmdq.c" > >Hello, > >This patch is used to add support for MDP3 on the MT8195 platform that >contains more picture quality components, and can arrange more pipelines >through two sets of MMSYS and MUTEX respectively. > >Moudy Ho (12): > media: platform: mtk-mdp3: add support second sets of MMSYS > media: platform: mtk-mdp3: add support second sets of MUTEX > media: platform: mtk-mdp3: introduce more pipelines from MT8195 > media: platform: mtk-mdp3: introduce more MDP3 components > media: platform: mtk-mdp3: add checks for dummy components > media: platform: mtk-mdp3: avoid multiple driver registrations > media: platform: mtk-mdp3: extend GCE event waiting in RDMA and WROT > media: platform: mtk-mdp3: add support for blending multiple > components > media: platform: mtk-mdp3: add mt8195 platform configuration > media: platform: mtk-mdp3: add mt8195 shared memory configurations > media: platform: mtk-mdp3: add mt8195 MDP3 component settings > media: platform: mtk-mdp3: add support for parallel pipe to improve > FPS > > .../platform/mediatek/mdp3/mdp_cfg_data.c | 729 +++++++++++++- > .../platform/mediatek/mdp3/mdp_reg_aal.h | 25 + > .../platform/mediatek/mdp3/mdp_reg_color.h | 31 + > .../media/platform/mediatek/mdp3/mdp_reg_fg.h | 23 + > .../platform/mediatek/mdp3/mdp_reg_hdr.h | 31 + > .../platform/mediatek/mdp3/mdp_reg_merge.h | 25 + > .../platform/mediatek/mdp3/mdp_reg_ovl.h | 25 + > .../platform/mediatek/mdp3/mdp_reg_pad.h | 21 + > .../platform/mediatek/mdp3/mdp_reg_rdma.h | 24 + > .../platform/mediatek/mdp3/mdp_reg_rsz.h | 2 + > .../platform/mediatek/mdp3/mdp_reg_tdshp.h | 34 + > .../platform/mediatek/mdp3/mdp_reg_wrot.h | 8 + > .../platform/mediatek/mdp3/mdp_sm_mt8195.h | 283 ++++++ > .../platform/mediatek/mdp3/mtk-img-ipi.h | 4 + > .../platform/mediatek/mdp3/mtk-mdp3-cfg.h | 2 + > .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 440 +++++++-- > .../platform/mediatek/mdp3/mtk-mdp3-cmdq.h | 1 + > .../platform/mediatek/mdp3/mtk-mdp3-comp.c | 895 +++++++++++++++++- > .../platform/mediatek/mdp3/mtk-mdp3-comp.h | 93 +- > .../platform/mediatek/mdp3/mtk-mdp3-core.c | 139 ++- > .../platform/mediatek/mdp3/mtk-mdp3-core.h | 50 +- > .../platform/mediatek/mdp3/mtk-mdp3-m2m.c | 15 + > .../platform/mediatek/mdp3/mtk-mdp3-regs.c | 18 + > .../platform/mediatek/mdp3/mtk-mdp3-regs.h | 1 + > .../platform/mediatek/mdp3/mtk-mdp3-vpu.c | 3 +- > 25 files changed, 2744 insertions(+), 178 deletions(-) > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_aal.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_color.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_fg.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_hdr.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_merge.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_ovl.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_pad.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_reg_tdshp.h > create mode 100644 drivers/media/platform/mediatek/mdp3/mdp_sm_mt8195.h > >-- >2.18.0 >