mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
58d4d29823
Having DRM_SUN4I built-in but DRM_SUN8I_MIXER as a loadable module results in a link error, as we try to access a symbol from the sun8i_tcon_top.ko module: ERROR: "sun8i_tcon_top_of_table" [drivers/gpu/drm/sun4i/sun8i-drm-hdmi.ko] undefined! ERROR: "sun8i_tcon_top_of_table" [drivers/gpu/drm/sun4i/sun4i-drm.ko] undefined! This solves the problem by adding a silent symbol for the tcon_top module, building it as a separate module in exactly the cases that we need it, but in a way that it is reachable by the other modules. Fixes:57e23de02f
("drm/sun4i: DW HDMI: Expand algorithm for possible crtcs") Fixes:ef0cf6441f
("drm/sun4i: Add support for traversing graph with TCON TOP") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180711144403.1022829-1-arnd@arndb.de
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
sun4i-backend-y += sun4i_backend.o sun4i_layer.o
|
|
sun4i-frontend-y += sun4i_frontend.o
|
|
|
|
sun4i-drm-y += sun4i_drv.o
|
|
sun4i-drm-y += sun4i_framebuffer.o
|
|
|
|
sun4i-drm-hdmi-y += sun4i_hdmi_ddc_clk.o
|
|
sun4i-drm-hdmi-y += sun4i_hdmi_enc.o
|
|
sun4i-drm-hdmi-y += sun4i_hdmi_i2c.o
|
|
sun4i-drm-hdmi-y += sun4i_hdmi_tmds_clk.o
|
|
|
|
sun8i-drm-hdmi-y += sun8i_dw_hdmi.o
|
|
sun8i-drm-hdmi-y += sun8i_hdmi_phy.o
|
|
sun8i-drm-hdmi-y += sun8i_hdmi_phy_clk.o
|
|
|
|
sun8i-mixer-y += sun8i_mixer.o sun8i_ui_layer.o \
|
|
sun8i_vi_layer.o sun8i_ui_scaler.o \
|
|
sun8i_vi_scaler.o sun8i_csc.o
|
|
|
|
sun4i-tcon-y += sun4i_crtc.o
|
|
sun4i-tcon-y += sun4i_dotclock.o
|
|
sun4i-tcon-y += sun4i_lvds.o
|
|
sun4i-tcon-y += sun4i_tcon.o
|
|
sun4i-tcon-y += sun4i_rgb.o
|
|
|
|
sun6i-dsi-y += sun6i_mipi_dphy.o
|
|
sun6i-dsi-y += sun6i_mipi_dsi.o
|
|
|
|
obj-$(CONFIG_DRM_SUN4I) += sun4i-drm.o
|
|
obj-$(CONFIG_DRM_SUN4I) += sun4i-tcon.o
|
|
obj-$(CONFIG_DRM_SUN4I) += sun4i_tv.o
|
|
obj-$(CONFIG_DRM_SUN4I) += sun6i_drc.o
|
|
|
|
obj-$(CONFIG_DRM_SUN4I_BACKEND) += sun4i-backend.o sun4i-frontend.o
|
|
obj-$(CONFIG_DRM_SUN4I_HDMI) += sun4i-drm-hdmi.o
|
|
obj-$(CONFIG_DRM_SUN6I_DSI) += sun6i-dsi.o
|
|
obj-$(CONFIG_DRM_SUN8I_DW_HDMI) += sun8i-drm-hdmi.o
|
|
obj-$(CONFIG_DRM_SUN8I_MIXER) += sun8i-mixer.o
|
|
obj-$(CONFIG_DRM_SUN8I_TCON_TOP) += sun8i_tcon_top.o
|