diff mbox series

drm/mediatek: Support MT8195 OVL compatible in mtk_drm_drv

Message ID 20240226080721.3331649-1-fshao@chromium.org (mailing list archive)
State New, archived
Headers show
Series drm/mediatek: Support MT8195 OVL compatible in mtk_drm_drv | expand

Commit Message

Fei Shao Feb. 26, 2024, 8:06 a.m. UTC
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(+)

Comments

Fei Shao Feb. 26, 2024, 11:31 a.m. UTC | #1
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
diff mbox series

Patch

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",