From: Laurent Pinchart Date: Wed, 26 Feb 2020 11:24:28 +0000 (+0200) Subject: drm/bridge: Add interlace_allowed flag to drm_bridge X-Git-Tag: v5.15~303^2~28^2~3408 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64d05ff758e39b7c908b96f5e19a5e519092eac8;p=platform%2Fkernel%2Flinux-starfive.git 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 Tested-by: Sebastian Reichel Reviewed-by: Sebastian Reichel Signed-off-by: Tomi Valkeinen Link: https://patchwork.freedesktop.org/patch/msgid/20200226112514.12455-9-laurent.pinchart@ideasonboard.com --- diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index 9d5d750..018e195 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;