]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: dsi: move DSIM_STATE_ENABLED set position
authorYoungJun Cho <yj44.cho@samsung.com>
Wed, 1 Oct 2014 06:19:13 +0000 (15:19 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 24 Nov 2014 09:02:52 +0000 (18:02 +0900)
commit5c8e136e83bfa8e4852d42db95e19cad940a9419
treec0675b84d5cd36c9e1531f10a7d80b6131471f3a
parent6473e34204f4e55a08071b8c6b33712f41d9df43
drm/exynos: dsi: move DSIM_STATE_ENABLED set position

The command mode panel should draw image earlier than the display
on command execution to prevent showing garbage GRAM screen data.
So should set dsi->state as DSIM_STATE_ENABLED between calling
exynos_dsi_set_display_enable() and drm_panel_enable() to transmit
image data before executing display on command.
And moves the display on command execution routine from prepare()
to enable() in drm_panel_funcs also.

Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c