Commit af8be3f6 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Inki Dae

drm/exynos: remove exynos_encoder's .commit() op

.commit() is not used anymore, Exynos encoders now follow the
.enable()/.disable() semantics from drm atomic core, so remove this
callback.
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 07fd6e1f
...@@ -87,7 +87,6 @@ struct exynos_drm_plane { ...@@ -87,7 +87,6 @@ struct exynos_drm_plane {
* would be called by encoder->mode_set(). * would be called by encoder->mode_set().
* @enable: display device on. * @enable: display device on.
* @disable: display device off. * @disable: display device off.
* @commit: apply changes to hw
*/ */
struct exynos_drm_encoder; struct exynos_drm_encoder;
struct exynos_drm_encoder_ops { struct exynos_drm_encoder_ops {
...@@ -100,7 +99,6 @@ struct exynos_drm_encoder_ops { ...@@ -100,7 +99,6 @@ struct exynos_drm_encoder_ops {
struct drm_display_mode *mode); struct drm_display_mode *mode);
void (*enable)(struct exynos_drm_encoder *encoder); void (*enable)(struct exynos_drm_encoder *encoder);
void (*disable)(struct exynos_drm_encoder *encoder); void (*disable)(struct exynos_drm_encoder *encoder);
void (*commit)(struct exynos_drm_encoder *encoder);
}; };
/* /*
......
...@@ -56,9 +56,6 @@ static void exynos_drm_encoder_enable(struct drm_encoder *encoder) ...@@ -56,9 +56,6 @@ static void exynos_drm_encoder_enable(struct drm_encoder *encoder)
if (exynos_encoder->ops->enable) if (exynos_encoder->ops->enable)
exynos_encoder->ops->enable(exynos_encoder); exynos_encoder->ops->enable(exynos_encoder);
if (exynos_encoder->ops->commit)
exynos_encoder->ops->commit(exynos_encoder);
} }
static void exynos_drm_encoder_disable(struct drm_encoder *encoder) static void exynos_drm_encoder_disable(struct drm_encoder *encoder)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment