linux/drivers/gpu/drm/mediatek
Nícolas F. R. A. Prado 646df7c634 drm/mediatek: dp: Add phy_mtk_dp module as pre-dependency
[ Upstream commit c8048dd0b0 ]

The mtk_dp driver registers a phy device which is handled by the
phy_mtk_dp driver and assumes that the phy probe will complete
synchronously, proceeding to make use of functionality exposed by that
driver right away. This assumption however is false when the phy driver
is built as a module, causing the mtk_dp driver to fail probe in this
case.

Add the phy_mtk_dp module as a pre-dependency to the mtk_dp module to
ensure the phy module has been loaded before the dp, so that the phy
probe happens synchrounously and the mtk_dp driver can probe
successfully even with the phy driver built as a module.

Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fixes: f70ac097a2 ("drm/mediatek: Add MT8195 Embedded DisplayPort driver")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Guillaume Ranquet <granquet@baylibre.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20231121142938.460846-1-nfraprado@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-01-25 15:45:06 -08:00
..
Kconfig drm/mediatek: dp: Add support for embedded DisplayPort aux-bus 2023-08-09 23:25:00 +00:00
Makefile drm/mediatek: Add ovl_adaptor support for MT8195 2023-03-22 16:25:16 +00:00
mtk_cec.c drm/mediatek: Convert to platform remove callback returning void 2023-08-10 23:41:55 +00:00
mtk_cec.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_disp_aal.c Mediatek DRM Next for Linux 6.7 2023-10-20 16:34:38 +10:00
mtk_disp_ccorr.c Mediatek DRM Next for Linux 6.6 2023-08-15 12:07:19 +10:00
mtk_disp_color.c Mediatek DRM Next for Linux 6.6 2023-08-15 12:07:19 +10:00
mtk_disp_drv.h drm/mediatek: gamma: Support multi-bank gamma LUT 2023-10-16 15:19:13 +00:00
mtk_disp_gamma.c drm/mediatek: mtk_disp_gamma: Fix breakage due to merge issue 2023-11-23 14:49:47 +00:00
mtk_disp_merge.c drm/mediatek: Fix underrun in VDO1 when switches off the layer 2024-01-25 15:45:04 -08:00
mtk_disp_ovl.c Mediatek DRM Next for Linux 6.6 2023-08-15 12:07:19 +10:00
mtk_disp_ovl_adaptor.c Mediatek DRM Next for Linux 6.6 2023-08-15 12:07:19 +10:00
mtk_disp_rdma.c Mediatek DRM Next for Linux 6.6 2023-08-15 12:07:19 +10:00
mtk_dp.c drm/mediatek: dp: Add phy_mtk_dp module as pre-dependency 2024-01-25 15:45:06 -08:00
mtk_dp_reg.h drm/mediatek: dp: Add support MT8188 dp/edp function 2023-09-24 14:00:23 +00:00
mtk_dpi.c drm/mediatek: Remove the redundant driver data for DPI 2024-01-25 15:45:04 -08:00
mtk_dpi_regs.h drm/mediatek: dpi: Add dp_intf support 2022-07-06 22:51:44 +08:00
mtk_drm_crtc.c drm/mediatek: Fix access violation in mtk_drm_crtc_dma_dev_get 2023-12-11 14:40:05 +00:00
mtk_drm_crtc.h drm/mediatek: gamma: Support SoC specific LUT size 2023-10-15 23:44:59 +00:00
mtk_drm_ddp_comp.c drm/mediatek: gamma: Support SoC specific LUT size 2023-10-15 23:44:59 +00:00
mtk_drm_ddp_comp.h drm/mediatek: gamma: Support SoC specific LUT size 2023-10-15 23:44:59 +00:00
mtk_drm_drv.c drm/mediatek: fix kernel oops if no crtc is found 2023-11-23 15:04:52 +00:00
mtk_drm_drv.h drm/mediatek: Add connector dynamic selection capability 2023-10-08 00:57:21 +00:00
mtk_drm_gem.c Linux 6.6-rc7 2023-10-23 18:20:06 +10:00
mtk_drm_gem.h dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
mtk_drm_plane.c drm/mediatek: Fix iommu fault by swapping FBs after updating plane state 2023-10-08 01:28:31 +00:00
mtk_drm_plane.h drm/mediatek: Refactor pixel format logic 2023-03-12 15:03:56 +00:00
mtk_dsi.c drm: mediatek: mtk_dsi: Fix NO_EOT_PACKET settings/handling 2023-10-18 13:18:22 +00:00
mtk_ethdr.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
mtk_ethdr.h drm/mediatek: Add ETHDR support for MT8195 2023-03-22 16:25:00 +00:00
mtk_hdmi.c drm/mediatek: Convert to platform remove callback returning void 2023-08-10 23:41:55 +00:00
mtk_hdmi.h drm/mediatek: Separate mtk_hdmi_phy to an independent module 2020-09-06 07:02:54 +08:00
mtk_hdmi_ddc.c drm/mediatek: Convert to platform remove callback returning void 2023-08-10 23:41:55 +00:00
mtk_hdmi_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mdp_rdma.c drm/mediatek: Return error if MDP RDMA failed to enable the clock 2024-01-25 15:45:04 -08:00
mtk_mdp_rdma.h drm/mediatek: Add display MDP RDMA support for MT8195 2022-06-27 22:24:14 +08:00