drm/exynos: fix adjusted_mode pointer in exynos_plane_mode_set
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 15 Mar 2016 11:38:02 +0000 (12:38 +0100)
committerInki Dae <daeinki@gmail.com>
Fri, 29 Apr 2016 16:03:45 +0000 (01:03 +0900)
commit81e50bcd1b2198d76739a9ee3279ac9a61209dfb
tree2aafb8836966fac9dfa15ca8ad749651bf4a4cdd
parent0a938697d7fb8d729afb1ec028566e08854d17f6
drm/exynos: fix adjusted_mode pointer in exynos_plane_mode_set

exynos_plane_mode_set should use adjusted_mode from the same atomic state as
plane state. Otherwise it will result in incorrect behavior in case
crtc mode changes.

The patch fixes bug with black console framebuffer in case of command mode
panels.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_plane.c