Arnd Bergmann 58d4d29823
drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m
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: 57e23de02f48 ("drm/sun4i: DW HDMI: Expand algorithm for possible crtcs")
Fixes: ef0cf6441fbb ("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
2018-07-12 09:35:19 +02:00
..
2018-04-25 09:09:22 +02:00
2018-07-04 10:27:12 +10:00
2018-07-02 18:45:56 +03:00
2018-07-06 06:29:24 +10:00
2018-06-22 12:58:08 +10:00
2018-07-06 10:15:47 +02:00
2018-06-20 15:59:34 +02:00
2018-06-22 12:58:08 +10:00
2018-06-06 08:16:33 -07:00
2018-06-28 13:29:07 +10:00
2018-06-22 12:58:08 +10:00
2018-07-02 18:45:55 +03:00
2018-05-03 21:26:32 +02:00
2018-07-09 18:46:05 +02:00