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
..
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-03-04 12:02:55 +10:00
2019-03-08 08:23:15 -08:00
2019-02-05 10:28:13 +01:00
2019-01-29 15:45:21 +01:00
2019-01-24 13:20:42 +01:00
2019-02-18 13:27:15 +10:00
2019-01-29 15:45:21 +01:00
2019-03-08 08:23:15 -08:00
2019-03-12 10:04:00 -07:00
2019-01-24 13:20:42 +01:00
2019-01-29 15:45:21 +01:00
2019-03-04 12:02:55 +10:00
2019-02-18 13:27:15 +10:00
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-02-18 13:27:15 +10:00
2019-02-11 13:32:49 +10:00
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-02-18 13:27:15 +10:00
2019-02-18 13:27:15 +10:00
2019-03-09 15:53:03 -08:00
2019-01-24 13:20:42 +01:00
2019-02-18 13:27:15 +10:00
2019-01-10 05:58:52 +10:00
2018-11-20 14:56:18 +01:00
2019-01-12 13:07:30 +01:00
2019-02-18 13:27:15 +10:00
2019-03-05 08:14:22 +10:00
2019-01-10 05:58:52 +10:00
2019-01-29 15:45:21 +01:00
2019-02-18 13:27:15 +10:00
2019-02-04 10:21:17 +01:00
2019-01-10 05:58:52 +10:00
2019-02-18 13:27:15 +10:00
2019-01-12 13:07:58 +01:00
2018-11-30 10:57:18 +01:00