diff options
author | Maxime Ripard <[email protected]> | 2018-09-11 13:33:25 +0200 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2018-09-12 14:50:34 +0200 |
commit | 185e0bebb44fc1e8978fabac1267c27fbcd16ee2 (patch) | |
tree | 102e56110893f81434d1aa90efc06aca2d34de9c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bf8744e40cd6db20dfbd231ad44943f6bc8ac311 (diff) |
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_de_config" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined!
ERROR: "sun8i_tcon_top_set_hdmi_src" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined!
ERROR: "sun8i_tcon_top_of_table" [drivers/gpu/drm/sun4i/sun4i-tcon.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: cf77d79b4e29 ("drm/sun4i: tcon: Add another way for matching mixers with tcon")
Fixes: 0305189afb32 ("drm/sun4i: tcon: Add support for R40 TCON")
Reviewed-by: Daniel Vetter <[email protected]>
Tested-by: Jon Hunter <[email protected]>
Tested-by: Matt Hart <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions