diff options
author | Inki Dae <inki.dae@samsung.com> | 2012-10-18 18:59:55 +0900 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2012-10-31 06:11:29 -0700 |
commit | 44c91697fb1add76f9f8c28c0d21b82b05b5d4cb (patch) | |
tree | ce37f11239c1543df4945bdf59cff19c20a74b13 /drivers/gpu/drm/exynos/exynos_drm_connector.c | |
parent | 4936b172d699434547addbe452c2d600ea6a4baf (diff) | |
download | op-kernel-dev-44c91697fb1add76f9f8c28c0d21b82b05b5d4cb.zip op-kernel-dev-44c91697fb1add76f9f8c28c0d21b82b05b5d4cb.tar.gz |
drm/exynos: fix display on issue
When crtc_funcs->dpms callback is called, exynos_crtc->dpms
and exynos_encoder->dpms are changed to new mode. But if user
requests dpms mode operation, OFF -> ON, when crtc's dpms callback
is called, exynos_encoder->dpms is also changed to ON. This
makes encoder's dpms callback call be ignored so display power
couldn't become on again.
This patch removes exynos_encoder->dpms changing and adds 'updated'
variable to exynos_drm_encoder structure to avoid duplicated overlay
updating.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_connector.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_connector.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_connector.c b/drivers/gpu/drm/exynos/exynos_drm_connector.c index 18c2718..0f68a28 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_connector.c +++ b/drivers/gpu/drm/exynos/exynos_drm_connector.c @@ -374,6 +374,7 @@ struct drm_connector *exynos_drm_connector_create(struct drm_device *dev, exynos_connector->encoder_id = encoder->base.id; exynos_connector->manager = manager; exynos_connector->dpms = DRM_MODE_DPMS_OFF; + connector->dpms = DRM_MODE_DPMS_OFF; connector->encoder = encoder; err = drm_mode_connector_attach_encoder(connector, encoder); |