* [PATCH] drm/mediatek: Support MT8195 OVL compatible in mtk_drm_drv
@ 2024-02-26 8:06 Fei Shao
2024-02-26 11:31 ` Fei Shao
0 siblings, 1 reply; 2+ messages in thread
From: Fei Shao @ 2024-02-26 8:06 UTC (permalink / raw)
To: AngeloGioacchino Del Regno, Chun-Kuang Hu
Cc: Fei Shao, Daniel Vetter, David Airlie, Matthias Brugger,
Philipp Zabel, dri-devel, linux-arm-kernel, linux-kernel,
linux-mediatek
Specify the component type for mediatek,mt8195-disp-ovl in the MediaTek
DRM driver on top of commit 76cdcb87d391 ("drm/mediatek: Add MT8195 ovl
driver support").
With this, the compatible can function as an independent fallback for
other display overlays without relying on MT8192.
Signed-off-by: Fei Shao <fshao@chromium.org>
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
index 14a1e0157cc4..703caba48420 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
+++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
@@ -739,6 +739,8 @@ static const struct of_device_id mtk_ddp_comp_dt_ids[] = {
.data = (void *)MTK_DISP_OVL },
{ .compatible = "mediatek,mt8192-disp-ovl",
.data = (void *)MTK_DISP_OVL },
+ { .compatible = "mediatek,mt8195-disp-ovl",
+ .data = (void *)MTK_DISP_OVL },
{ .compatible = "mediatek,mt8183-disp-ovl-2l",
.data = (void *)MTK_DISP_OVL_2L },
{ .compatible = "mediatek,mt8192-disp-ovl-2l",
--
2.44.0.rc0.258.g7320e95886-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/mediatek: Support MT8195 OVL compatible in mtk_drm_drv
2024-02-26 8:06 [PATCH] drm/mediatek: Support MT8195 OVL compatible in mtk_drm_drv Fei Shao
@ 2024-02-26 11:31 ` Fei Shao
0 siblings, 0 replies; 2+ messages in thread
From: Fei Shao @ 2024-02-26 11:31 UTC (permalink / raw)
To: AngeloGioacchino Del Regno, Chun-Kuang Hu
Cc: Daniel Vetter, David Airlie, Matthias Brugger, Philipp Zabel,
dri-devel, linux-arm-kernel, linux-kernel, linux-mediatek
On Mon, Feb 26, 2024 at 4:07 PM Fei Shao <fshao@chromium.org> wrote:
>
> Specify the component type for mediatek,mt8195-disp-ovl in the MediaTek
> DRM driver on top of commit 76cdcb87d391 ("drm/mediatek: Add MT8195 ovl
> driver support").
>
> With this, the compatible can function as an independent fallback for
> other display overlays without relying on MT8192.
>
> Signed-off-by: Fei Shao <fshao@chromium.org>
Please disregard this patch.
With the feedback in [1], I can also fix the issue from within the
SoC's device tree.
Even taking a step back, I just learned that this is a duplicate of
[2], so it makes no sense to merge mine in any case.
Sorry for the noise.
[1]: https://lore.kernel.org/all/c4814e25-42c9-4604-b86a-8ef0bd634f78@collabora.com/
[2]: https://lore.kernel.org/all/20240215101119.12629-3-shawn.sung@mediatek.com/
Regards,
Fei
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-26 11:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-26 8:06 [PATCH] drm/mediatek: Support MT8195 OVL compatible in mtk_drm_drv Fei Shao
2024-02-26 11:31 ` Fei Shao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).