summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2015-08-05 20:24:19 -0300
committerInki Dae <inki.dae@samsung.com>2015-08-16 10:23:37 +0900
commitaf8be3f6fe80262f29b5e353421392196ff626f0 (patch)
tree08da9ff29cd30909f76484b2921ff15bfdf16706 /drivers/gpu/drm/exynos
parent07fd6e1f9985399f08af0f7981eaed362512a5af (diff)
downloadtalos-obmc-linux-af8be3f6fe80262f29b5e353421392196ff626f0.tar.gz
talos-obmc-linux-af8be3f6fe80262f29b5e353421392196ff626f0.zip
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: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.h2
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_encoder.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h
index 4931193eb4e2..76ed6a105d4f 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h
@@ -87,7 +87,6 @@ struct exynos_drm_plane {
* would be called by encoder->mode_set().
* @enable: display device on.
* @disable: display device off.
- * @commit: apply changes to hw
*/
struct exynos_drm_encoder;
struct exynos_drm_encoder_ops {
@@ -100,7 +99,6 @@ struct exynos_drm_encoder_ops {
struct drm_display_mode *mode);
void (*enable)(struct exynos_drm_encoder *encoder);
void (*disable)(struct exynos_drm_encoder *encoder);
- void (*commit)(struct exynos_drm_encoder *encoder);
};
/*
diff --git a/drivers/gpu/drm/exynos/exynos_drm_encoder.c b/drivers/gpu/drm/exynos/exynos_drm_encoder.c
index b9a1c937de5b..ce7b97e3550d 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_encoder.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_encoder.c
@@ -56,9 +56,6 @@ static void exynos_drm_encoder_enable(struct drm_encoder *encoder)
if (exynos_encoder->ops->enable)
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)
OpenPOWER on IntegriCloud