linux/drivers/gpu/drm/omapdrm/dss
Tomi Valkeinen 6297388e1e drm/omap: dsi: Hack-fix DSI bus flags
Since commit b4935e3a3c ("drm/omap: Store bus flags in the
omap_dss_device structure") video mode flags are managed by the omapdss
(and later omapdrm) core based on bus flags stored in omap_dss_device.
This works fine for all devices whose video modes are set by the omapdss
and omapdrm core, but breaks DSI operation as the DSI still uses legacy
code paths and sets the DISPC timings manually.

To fix the problem properly we should move the DSI encoder to the new
encoder model. This will however require a considerable amount of work.
Restore DSI operation by adding back video mode flags handling in the
DSI encoder driver as a hack in the meantime.

Fixes: b4935e3a3c ("drm/omap: Store bus flags in the omap_dss_device structure")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190111035120.20668-5-laurent.pinchart@ideasonboard.com
2019-02-06 13:39:03 +02:00
..
base.c drm/omap: Move most omap_dss_driver operations to omap_dss_device_ops 2018-09-03 16:13:29 +03:00
core.c
dispc.c drm/omap: Substitute format_is_yuv() with format->is_yuv 2018-10-02 09:36:56 +03:00
dispc.h
dispc_coefs.c
display.c
dpi.c drm/omap: Don't call .set_timings() operation recursively 2018-09-03 16:13:30 +03:00
dsi.c drm/omap: dsi: Hack-fix DSI bus flags 2019-02-06 13:39:03 +02:00
dss-of.c
dss.c drm/omap: Populate DSS children in omapdss driver 2018-11-12 11:50:13 +02:00
dss.h drm/omap: Call dispc timings check operation directly 2018-09-03 16:13:30 +03:00
hdmi.h drm/omap: hdmi: Constify video mode and related pointers 2018-09-03 16:13:30 +03:00
hdmi4.c drm/omap: Move DISPC runtime PM handling to omapdrm 2018-11-12 11:50:13 +02:00
hdmi4_cec.c
hdmi4_cec.h
hdmi4_core.c
hdmi4_core.h
hdmi5.c drm/omap: Move DISPC runtime PM handling to omapdrm 2018-11-12 11:50:13 +02:00
hdmi5_core.c drm/omap: hdmi: Constify video mode and related pointers 2018-09-03 16:13:30 +03:00
hdmi5_core.h
hdmi_common.c
hdmi_phy.c
hdmi_pll.c
hdmi_wp.c drm/omap: hdmi: Constify video mode and related pointers 2018-09-03 16:13:30 +03:00
Kconfig
Makefile
omapdss-boot-init.c
omapdss.h drm/omap: fix bus_flags for panel-dpi 2018-12-03 14:36:05 +02:00
output.c drm/omap: dss: Remove the dss_mgr_(dis)connect() operations 2018-09-03 16:13:28 +03:00
pll.c
sdi.c drm/omap: Don't call .set_timings() operation recursively 2018-09-03 16:13:30 +03:00
venc.c drm/omap: Move DISPC runtime PM handling to omapdrm 2018-11-12 11:50:13 +02:00
video-pll.c