dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/msm/hdmi: fix build without CONFIG_COMMON_CLK
@ 2021-11-10  7:09 Jackie Liu
  2021-11-10  7:09 ` [PATCH 2/3] drm/msm/dp: displayPort driver need algorithm rational Jackie Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jackie Liu @ 2021-11-10  7:09 UTC (permalink / raw)
  To: robdclark, sean, airlied
  Cc: architt, liu.yun, dri-devel, freedreno, christian.koenig,
	chandanu

From: Jackie Liu <liuyun01@kylinos.cn>

HDMI 8996 PHY/PLL support need common clk. avoid like:

[...]
x86_64-linux-gnu-ld: drivers/gpu/drm/msm/hdmi/hdmi_phy.o:(.rodata+0x3e0): undefined reference to `msm_hdmi_phy_8996_cfg'

Fixes: e17afdceb4f2 ("drm/msm/hdmi: HDMI 8996 PHY/PLL support")
Reported-by: kernelbot <kernel-bot@kylinos.cn>
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
---
 drivers/gpu/drm/msm/hdmi/hdmi_phy.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy.c
index 16b0e8836d27..84d7f79f1aa8 100644
--- a/drivers/gpu/drm/msm/hdmi/hdmi_phy.c
+++ b/drivers/gpu/drm/msm/hdmi/hdmi_phy.c
@@ -192,8 +192,10 @@ static const struct of_device_id msm_hdmi_phy_dt_match[] = {
 	  .data = &msm_hdmi_phy_8x74_cfg },
 	{ .compatible = "qcom,hdmi-phy-8084",
 	  .data = &msm_hdmi_phy_8x74_cfg },
+#ifdef CONFIG_COMMON_CLK
 	{ .compatible = "qcom,hdmi-phy-8996",
 	  .data = &msm_hdmi_phy_8996_cfg },
+#endif
 	{}
 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-10  7:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-10  7:09 [PATCH 1/3] drm/msm/hdmi: fix build without CONFIG_COMMON_CLK Jackie Liu
2021-11-10  7:09 ` [PATCH 2/3] drm/msm/dp: displayPort driver need algorithm rational Jackie Liu
2021-11-10  7:09 ` [PATCH 3/3] drm/msm: some features need to be forced to rely on COMMON_CLK Jackie Liu
2021-11-10  7:29 ` [PATCH 1/3] drm/msm/hdmi: fix build without CONFIG_COMMON_CLK Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox