Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Laurent Pinchart and committed by
Tomi Valkeinen
64d05ff7 11f6c4b1

+5
+5
include/drm/drm_bridge.h
··· 722 722 */ 723 723 int type; 724 724 /** 725 + * @interlace_allowed: Indicate that the bridge can handle interlaced 726 + * modes. 727 + */ 728 + bool interlace_allowed; 729 + /** 725 730 * @ddc: Associated I2C adapter for DDC access, if any. 726 731 */ 727 732 struct i2c_adapter *ddc;