From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: matthias.bgg@gmail.com Cc: angelogioacchino.delregno@collabora.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Subject: [PATCH 0/3] MediaTek MMSYS: Split out MT8173 and add MT6795 Date: Thu, 9 Mar 2023 11:26:15 +0100 [thread overview] Message-ID: <20230309102618.114157-1-angelogioacchino.delregno@collabora.com> (raw) This series migrates MT8173 to use its own mmsys DDP routing table and introduces support for the MediaTek Helio X10 MT6795 using the same routing table as MT8173. Broader explanation goes to that MT6795 addition: Both MT6795 and MT8173 can support more usecases than the ones in the current routing tables and the ones that are actually supported in mediatek-drm! This is mostly about MERGE, dual-DSI, WDMA (for command mode panels) and others, but, again, right now, these are not supported. I could have created a mt6795-mmsys.h, but that would've been a 1:1 clone of mt8173-mmsys.h, creating unnecessary code duplication hence raising code (and kernel) size for no practical reason. As a side note, if more MTK Smartphone SoCs land upstream, I expect to see more re-using of MTK Chromebook SoCs mmsys routing tables. P.S.: MT6795 dt-bindings are already upstream in v6.1 [1]. This series was tested on: - MT8173 Acer Chromebook R13 (Elm) - MT6795 Sony Xperia M5 (Holly) Also, this series depends on [2] [1]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml?h=v6.1.15#n28 [2]: https://patchwork.kernel.org/project/linux-mediatek/list/?series=724014 AngeloGioacchino Del Regno (3): soc: mediatek: mtk-mmsys: Split out MT8173 mmsys DDP routing table soc: mediatek: mtk-mmsys: Change MT8173 num_resets to 64 soc: mediatek: mtk-mmsys: Add support for MT6795 Helio X10 drivers/soc/mediatek/mt8173-mmsys.h | 95 +++++++++++++++++++++++++++++ drivers/soc/mediatek/mtk-mmsys.c | 16 ++++- drivers/soc/mediatek/mtk-mmsys.h | 2 +- 3 files changed, 109 insertions(+), 4 deletions(-) create mode 100644 drivers/soc/mediatek/mt8173-mmsys.h -- 2.39.2
WARNING: multiple messages have this Message-ID (diff)
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: matthias.bgg@gmail.com Cc: angelogioacchino.delregno@collabora.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Subject: [PATCH 0/3] MediaTek MMSYS: Split out MT8173 and add MT6795 Date: Thu, 9 Mar 2023 11:26:15 +0100 [thread overview] Message-ID: <20230309102618.114157-1-angelogioacchino.delregno@collabora.com> (raw) This series migrates MT8173 to use its own mmsys DDP routing table and introduces support for the MediaTek Helio X10 MT6795 using the same routing table as MT8173. Broader explanation goes to that MT6795 addition: Both MT6795 and MT8173 can support more usecases than the ones in the current routing tables and the ones that are actually supported in mediatek-drm! This is mostly about MERGE, dual-DSI, WDMA (for command mode panels) and others, but, again, right now, these are not supported. I could have created a mt6795-mmsys.h, but that would've been a 1:1 clone of mt8173-mmsys.h, creating unnecessary code duplication hence raising code (and kernel) size for no practical reason. As a side note, if more MTK Smartphone SoCs land upstream, I expect to see more re-using of MTK Chromebook SoCs mmsys routing tables. P.S.: MT6795 dt-bindings are already upstream in v6.1 [1]. This series was tested on: - MT8173 Acer Chromebook R13 (Elm) - MT6795 Sony Xperia M5 (Holly) Also, this series depends on [2] [1]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml?h=v6.1.15#n28 [2]: https://patchwork.kernel.org/project/linux-mediatek/list/?series=724014 AngeloGioacchino Del Regno (3): soc: mediatek: mtk-mmsys: Split out MT8173 mmsys DDP routing table soc: mediatek: mtk-mmsys: Change MT8173 num_resets to 64 soc: mediatek: mtk-mmsys: Add support for MT6795 Helio X10 drivers/soc/mediatek/mt8173-mmsys.h | 95 +++++++++++++++++++++++++++++ drivers/soc/mediatek/mtk-mmsys.c | 16 ++++- drivers/soc/mediatek/mtk-mmsys.h | 2 +- 3 files changed, 109 insertions(+), 4 deletions(-) create mode 100644 drivers/soc/mediatek/mt8173-mmsys.h -- 2.39.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2023-03-09 10:26 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-09 10:26 AngeloGioacchino Del Regno [this message] 2023-03-09 10:26 ` [PATCH 0/3] MediaTek MMSYS: Split out MT8173 and add MT6795 AngeloGioacchino Del Regno 2023-03-09 10:26 ` [PATCH 1/3] soc: mediatek: mtk-mmsys: Split out MT8173 mmsys DDP routing table AngeloGioacchino Del Regno 2023-03-09 10:26 ` AngeloGioacchino Del Regno 2023-03-09 10:26 ` [PATCH 2/3] soc: mediatek: mtk-mmsys: Change MT8173 num_resets to 64 AngeloGioacchino Del Regno 2023-03-09 10:26 ` AngeloGioacchino Del Regno 2023-03-09 10:26 ` [PATCH 3/3] soc: mediatek: mtk-mmsys: Add support for MT6795 Helio X10 AngeloGioacchino Del Regno 2023-03-09 10:26 ` AngeloGioacchino Del Regno 2023-04-02 17:02 ` [PATCH 0/3] MediaTek MMSYS: Split out MT8173 and add MT6795 Matthias Brugger 2023-04-02 17:02 ` Matthias Brugger
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230309102618.114157-1-angelogioacchino.delregno@collabora.com \ --to=angelogioacchino.delregno@collabora.com \ --cc=kernel@collabora.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mediatek@lists.infradead.org \ --cc=matthias.bgg@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.