linux_dsm_epyc7002/drivers/gpu/drm/sti
Oliver O'Halloran c9fea6f437 drm/sti: Depend on OF rather than selecting it
Commit cc6b741c6f ("drm: sti: remove useless fields from vtg
structure") reworked some code inside of this driver and made it select
CONFIG_OF. This results in the entire OF layer being enabled when
building an allmodconfig on ia64. OF on ia64 is completely unsupported
so this isn't a great state of affairs.

The 0day robot noticed a link-time failure on ia64 caused by
using of_node_to_nid() in an otherwise unrelated driver. The
generic fallback for of_node_to_nid() only exists when:

	defined(CONFIG_OF) && defined(CONFIG_NUMA) == false

Since CONFIG_NUMA is usually selected for IA64 we get the link failure.
Fix this by making the driver depend on OF rather than selecting it,
odds are that was the original intent.

Link: https://lists.01.org/pipermail/kbuild-all/2018-March/045172.html
Fixes: cc6b741c6f ("drm: sti: remove useless fields from vtg structure")
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-ia64@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180403053401.30045-1-oohall@gmail.com
2018-04-05 14:04:17 +02:00
..
Kconfig drm/sti: Depend on OF rather than selecting it 2018-04-05 14:04:17 +02:00
Makefile
NOTES
sti_awg_utils.c
sti_awg_utils.h
sti_compositor.c
sti_compositor.h
sti_crtc.c
sti_crtc.h
sti_cursor.c
sti_cursor.h
sti_drv.c
sti_drv.h
sti_dvo.c
sti_gdp.c
sti_gdp.h
sti_hda.c
sti_hdmi_tx3g4c28phy.c
sti_hdmi_tx3g4c28phy.h
sti_hdmi.c
sti_hdmi.h
sti_hqvdp_lut.h
sti_hqvdp.c
sti_mixer.c
sti_mixer.h
sti_plane.c
sti_plane.h
sti_tvout.c
sti_vid.c
sti_vid.h
sti_vtg.c
sti_vtg.h