Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/mediatek: Fix DPI component detection for MT8192

When support for MT8192 was added, the DPI device was not added to the
list of components to look for. This causes the secondary display
pipeline to not be able to fully bind, and the DRM driver subsequently
defers probing.

Add the DPI device compatible to list of DPI components to fix this.

Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220225032754.140168-1-wenst@chromium.org/
Fixes: 01365f549c88 ("drm/mediatek: Add support for Mediatek SoC MT8192")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>

authored by

Chen-Yu Tsai and committed by
Chun-Kuang Hu
cfab37ff b74d921b

+2
+2
drivers/gpu/drm/mediatek/mtk_drm_drv.c
··· 509 509 .data = (void *)MTK_DPI }, 510 510 { .compatible = "mediatek,mt8183-dpi", 511 511 .data = (void *)MTK_DPI }, 512 + { .compatible = "mediatek,mt8192-dpi", 513 + .data = (void *)MTK_DPI }, 512 514 { .compatible = "mediatek,mt2701-dsi", 513 515 .data = (void *)MTK_DSI }, 514 516 { .compatible = "mediatek,mt8173-dsi",