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>
Tue, 12 Apr 2016 13:50:52 +0000 (22:50 +0900)
commit311521e25630b9c61ce22f3adc3ad0b35d5f2667
treefb6b7f7199c2cdcf8aa8032dad2a86054859dc9e
parent55c4b906aa2aec3fa66310ec03c6842e34a04b2a
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