Star64_linux/drivers/gpu/drm/omapdrm/dss
Laurent Pinchart 19b4200d8f drm/omap: Reverse direction of the DSS device enable/disable operations
The omapdrm and omapdss drivers are architectured based on display
pipelines made of multiple components handled from sink (display) to
source (DSS output). This is incompatible with the DRM bridge and panel
APIs that handle components from source to sink.

Reconcile the omapdrm and omapdss drivers with the DRM bridge and panel
model by reversing the direction of the DSS device .enable() and
.disable() operations. This completes the move to the DRM bridge model,
with the notable exception of the DSI pipelines that will require more
work.

We also adapt the omapdss shutdown handler dss_shutdown() to shut down
all active pipelines starting from the pipeline output device instead of
the display device.

As a consequence the for_each_dss_display() macro isn't used and can be
removed, and the omapdss_device_get_next() function underlying the macro
can be simplified to search for output devices only.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2019-03-18 11:42:12 +02:00
..
base.c drm/omap: Reverse direction of the DSS device enable/disable operations 2019-03-18 11:42:12 +02: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 drm/omap: dss: Add function to retrieve display for an output 2018-09-03 16:13:27 +03:00
dpi.c drm/omap: Reverse direction of the DSS device enable/disable operations 2019-03-18 11:42:12 +02:00
dsi.c drm/omap: Reverse direction of the DSS device enable/disable operations 2019-03-18 11:42:12 +02:00
dss-of.c drm/omap: dss: Extend omapdss_of_find_source_for_first_ep() to sinks 2018-09-03 16:13:27 +03:00
dss.c drm/omap: Reverse direction of the DSS device enable/disable operations 2019-03-18 11:42:12 +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: Reverse direction of the DSS device enable/disable operations 2019-03-18 11:42:12 +02:00
hdmi4_cec.c
hdmi4_cec.h
hdmi4_core.c
hdmi4_core.h
hdmi5.c drm/omap: Reverse direction of the DSS device enable/disable operations 2019-03-18 11:42:12 +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: Reverse direction of the DSS device enable/disable operations 2019-03-18 11:42:12 +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: Reverse direction of the DSS device enable/disable operations 2019-03-18 11:42:12 +02:00
venc.c drm/omap: Reverse direction of the DSS device enable/disable operations 2019-03-18 11:42:12 +02:00
video-pll.c