From: Laurent Pinchart Date: Fri, 6 Mar 2015 22:22:39 +0000 (+0200) Subject: drm: omapdrm: Implement encoder .disable() and .enable() operations X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=68dc0390d4e9d3f73fa6a7756a948ff97a40eccb;p=linux-beck.git drm: omapdrm: Implement encoder .disable() and .enable() operations The operations are required by the atomic helpers, implement them. Signed-off-by: Laurent Pinchart Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/gpu/drm/omapdrm/omap_encoder.c b/drivers/gpu/drm/omapdrm/omap_encoder.c index ab6ed49f37ab..0734527808d5 100644 --- a/drivers/gpu/drm/omapdrm/omap_encoder.c +++ b/drivers/gpu/drm/omapdrm/omap_encoder.c @@ -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, }; /*