Star64_linux/drivers/gpu/drm/omapdrm/dss
Laurent Pinchart c83fefd738 drm/omap: dss: Fix output next device lookup in DT
The DSS core looks up the next device connected to an output by
traversing the OF graph. It currently hardcodes the local port number to
0, which breaks any output with a different port number (SDI on OMAP3
and any DPI output but the first one). Fix this by repurposing the
currently unused of_ports bitmask in omap_dss_device with an of_port
output port number, and use it to traverse the OF graph.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226112514.12455-26-laurent.pinchart@ideasonboard.com
2020-02-26 13:31:48 +02:00
..
base.c drm/omap: Use the drm_panel_bridge API 2020-02-26 13:31:47 +02:00
dispc.c drm/omapdrm: use BUG_ON macro for error debugging. 2020-01-08 18:35:36 +01:00
dispc.h
dispc_coefs.c
display.c
dpi.c drm/omap: dss: Fix output next device lookup in DT 2020-02-26 13:31:48 +02:00
dsi.c drm/omap: dss: Fix output next device lookup in DT 2020-02-26 13:31:48 +02:00
dss-of.c
dss.c drm/omap: dss: Cleanup DSS ports on initialisation failure 2020-02-26 13:31:44 +02:00
dss.h
hdmi.h
hdmi4.c drm/omap: dss: Fix output next device lookup in DT 2020-02-26 13:31:48 +02:00
hdmi4_cec.c
hdmi4_cec.h
hdmi4_core.c drm/omap: Remove set but not used variable 'err' in hdmi4_audio_config 2019-10-14 14:20:52 +03:00
hdmi4_core.h
hdmi5.c drm/omap: dss: Fix output next device lookup in DT 2020-02-26 13:31:48 +02:00
hdmi5_core.c drm/omap: Remove set but not used variable 'err' in hdmi5_audio_config 2019-10-14 14:20:48 +03:00
hdmi5_core.h
hdmi_common.c
hdmi_phy.c
hdmi_pll.c
hdmi_wp.c
Kconfig drm/omap: Fix Kconfig indentation 2019-11-20 17:40:32 +01:00
Makefile
omapdss-boot-init.c drm/omap: fix possible object reference leak 2020-02-11 11:46:51 +02:00
omapdss.h drm/omap: dss: Fix output next device lookup in DT 2020-02-26 13:31:48 +02:00
output.c drm/omap: dss: Fix output next device lookup in DT 2020-02-26 13:31:48 +02:00
pll.c
sdi.c drm/omap: dss: Fix output next device lookup in DT 2020-02-26 13:31:48 +02:00
venc.c drm/omap: dss: Fix output next device lookup in DT 2020-02-26 13:31:48 +02:00
video-pll.c