struct drm_bridge_funcs — drm_bridge control functions
struct drm_bridge_funcs { int (* attach) (struct drm_bridge *bridge); bool (* mode_fixup) (struct drm_bridge *bridge,const struct drm_display_mode *mode,struct drm_display_mode *adjusted_mode); void (* disable) (struct drm_bridge *bridge); void (* post_disable) (struct drm_bridge *bridge); void (* mode_set) (struct drm_bridge *bridge,struct drm_display_mode *mode,struct drm_display_mode *adjusted_mode); void (* pre_enable) (struct drm_bridge *bridge); void (* enable) (struct drm_bridge *bridge); };
Called during drm_bridge_attach
Try to fixup (or reject entirely) proposed mode for this bridge
Called right before encoder prepare, disables the bridge
Called right after encoder prepare, for lockstepped disable
Set this mode to the bridge
Called right before encoder commit, for lockstepped commit
Called right after encoder commit, enables the bridge