drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ 1 file changed, 2 insertions(+)
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
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
© 2016 - 2024 Red Hat, Inc.