drm: omapdrm: Implement encoder .disable() and .enable() operations
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 6 Mar 2015 22:22:39 +0000 (00:22 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 12 Jun 2015 19:52:46 +0000 (22:52 +0300)
The operations are required by the atomic helpers, implement them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_encoder.c

index ab6ed49f37abc27838524205efa50f5553359a80..0734527808d5629885d4d807184df635f63b87f6 100644 (file)
@@ -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,
 };
 
 /*