]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/exynos: fix display on issue
authorInki Dae <inki.dae@samsung.com>
Thu, 18 Oct 2012 09:59:55 +0000 (18:59 +0900)
committerInki Dae <daeinki@gmail.com>
Wed, 31 Oct 2012 13:11:29 +0000 (06:11 -0700)
commit44c91697fb1add76f9f8c28c0d21b82b05b5d4cb
treece37f11239c1543df4945bdf59cff19c20a74b13
parent4936b172d699434547addbe452c2d600ea6a4baf
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>
drivers/gpu/drm/exynos/exynos_drm_connector.c
drivers/gpu/drm/exynos/exynos_drm_encoder.c