1
0
Fork 0
alistair23-linux/drivers/gpu/drm/omapdrm
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
..
displays drm/omap: fix bus_flags for panel-dpi 2018-12-03 14:36:05 +02:00
dss drm/omap: dsi: Hack-fix DSI bus flags 2019-02-06 13:39:03 +02:00
Kconfig
Makefile
TODO
omap_connector.c drm/omap: fix use of freed memory 2018-10-02 09:36:56 +03:00
omap_connector.h drm/omap: Determine connector type directly in omap_connector.c 2018-09-03 16:13:29 +03:00
omap_crtc.c drm/omap: Move DISPC runtime PM handling to omapdrm 2018-11-12 11:50:13 +02:00
omap_crtc.h drm/omap: Pass pipe pointer to omap_crtc_init() 2018-09-03 16:13:28 +03:00
omap_debugfs.c drm/omap: gem: Fix mm_list locking 2018-06-28 13:41:05 +03:00
omap_dmm_priv.h drm/omap: partial workaround for DRA7xx DMM errata i878 2018-10-02 09:36:56 +03:00
omap_dmm_tiler.c drm/omap: partial workaround for DRA7xx DMM errata i878 2018-10-02 09:36:56 +03:00
omap_dmm_tiler.h
omap_drv.c drm/omap: Replace drm_dev_unref with drm_dev_put 2018-10-02 09:36:56 +03:00
omap_drv.h drm/omap: Store CRTC lookup by channel table in omap_drm_private 2018-09-03 16:13:28 +03:00
omap_encoder.c drm/omap: fix incorrect union usage 2018-12-03 14:46:30 +02:00
omap_encoder.h drm/omap: Pass both output and display omap_dss_device to encoder init 2018-09-03 16:13:29 +03:00
omap_fb.c drm/omap: Replace drm_gem_object_unreference_unlocked with put function 2018-10-02 09:36:56 +03:00
omap_fb.h
omap_fbdev.c drm/omap: Replace drm_gem_object_unreference_unlocked with put function 2018-10-02 09:36:56 +03:00
omap_fbdev.h
omap_gem.c drm/omap: Replace drm_gem_object_unreference_unlocked with put function 2018-10-02 09:36:56 +03:00
omap_gem.h
omap_gem_dmabuf.c drm/omap: Replace drm_gem_object_{un/reference} with put,get functions 2018-10-02 09:36:56 +03:00
omap_irq.c drm/omap: Group CRTC, encoder, connector and dssdev in a structure 2018-09-03 16:13:27 +03:00
omap_irq.h
omap_plane.c
omap_plane.h
tcm-sita.c
tcm.h