]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: fixed duplicated mode setting.
authorInki Dae <inki.dae@samsung.com>
Mon, 20 Aug 2012 12:29:25 +0000 (21:29 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Oct 2012 01:05:59 +0000 (10:05 +0900)
commit1d202872c9af7d85047682e382a17b21b026bf8d
tree08532a4ecab994b959b2601e3a64e310fdd50475
parentfb9f581f328e816a98ca102d1873de661bfa5022
drm/exynos: fixed duplicated mode setting.

this patch fixes that when drm_crtc_helper_set_mode() is called,
mode data for hardware overlay and conntroller are updated two times.
for example, in case that drm_crtc_helper_set_mode() is called,
overlay_ops->commit() and manager_ops->commit() callbacks can be called
two times, first at drm_crtc_helper_set_mode() and second
at drm_helper_connector_dpms().

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_connector.h
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_encoder.c