linux_dsm_epyc7002/drivers/gpu/drm/omapdrm/displays
Laurent Pinchart 0dbfc39667 drm/omap: Merge omap_dss_device type and output_type fields
The omap_dss_device type and output_type fields differ mostly for
historical reasons. The output_type field is required for all devices
but the display at the end of the pipeline, and must be set to
OMAP_DISPLAY_TYPE_NONE for the latter. The type field is required for
all devices but the internal encoder, for which it is ignored.

The only reason why the output_type field must be set to
OMAP_DISPLAY_TYPE_NONE for the display at the end of the pipeline is to
identify omap_dss_device instances corresponding to displays. This is
not documented and confusing.

Clean the code by adding a new display field to the omap_dss_device
structure to identify displays, and merge the type and output_type
fields.

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:13 +02:00
..
connector-analog-tv.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
connector-dvi.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
connector-hdmi.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
encoder-opa362.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
encoder-tfp410.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
encoder-tpd12s015.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
Kconfig drm/omap: displays: panel-dpi: add backlight dependency 2017-11-30 12:25:37 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
panel-dpi.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
panel-dsi-cm.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
panel-lgphilips-lb035q02.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
panel-nec-nl8048hl11.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
panel-sharp-ls037v7dw01.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
panel-sony-acx565akm.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
panel-tpo-td028ttec1.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00
panel-tpo-td043mtea1.c drm/omap: Merge omap_dss_device type and output_type fields 2019-03-18 11:42:13 +02:00