summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-02-26 14:24:28 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-02-26 14:31:23 +0300
commit64d05ff758e39b7c908b96f5e19a5e519092eac8 (patch)
tree6e03e8ee54b33730fa0586252114144155f6bdf0 /include/drm
parent11f6c4b1b2599d04ae94a25ce3dcdc46d19434b0 (diff)
downloadlinux-64d05ff758e39b7c908b96f5e19a5e519092eac8.tar.xz
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
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_bridge.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h
index 9d5d750973e9..018e195c4808 100644
--- a/include/drm/drm_bridge.h
+++ b/include/drm/drm_bridge.h
@@ -722,6 +722,11 @@ struct drm_bridge {
*/
int type;
/**
+ * @interlace_allowed: Indicate that the bridge can handle interlaced
+ * modes.
+ */
+ bool interlace_allowed;
+ /**
* @ddc: Associated I2C adapter for DDC access, if any.
*/
struct i2c_adapter *ddc;