提交 68dc0390 编写于 作者: L Laurent Pinchart

drm: omapdrm: Implement encoder .disable() and .enable() operations

The operations are required by the atomic helpers, implement them.
Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 f1d57fb5
......@@ -124,12 +124,22 @@ static void omap_encoder_commit(struct drm_encoder *encoder)
{
}
static void omap_encoder_disable(struct drm_encoder *encoder)
{
}
static void omap_encoder_enable(struct drm_encoder *encoder)
{
}
static const struct drm_encoder_helper_funcs omap_encoder_helper_funcs = {
.dpms = omap_encoder_dpms,
.mode_fixup = omap_encoder_mode_fixup,
.mode_set = omap_encoder_mode_set,
.prepare = omap_encoder_prepare,
.commit = omap_encoder_commit,
.disable = omap_encoder_disable,
.enable = omap_encoder_enable,
};
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册