drm/bridge: Add interlace_allowed flag to drm_bridge

In preparation for a connector creation helper based on a chain of
bridges, add a flag to the drm_bridge structure to report support for
interlaced modes. This will be used to set the connector's
interlace_allowed flag.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226112514.12455-9-laurent.pinchart@ideasonboard.com
This commit is contained in:
Laurent Pinchart 2020-02-26 13:24:28 +02:00 committed by Tomi Valkeinen
parent 11f6c4b1b2
commit 64d05ff758

View File

@ -721,6 +721,11 @@ struct drm_bridge {
* identifies the type of connected display.
*/
int type;
/**
* @interlace_allowed: Indicate that the bridge can handle interlaced
* modes.
*/
bool interlace_allowed;
/**
* @ddc: Associated I2C adapter for DDC access, if any.
*/