]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0988e5b8ef44670cd5124f1e032927bf3bdc1635
treefb6b7f7199c2cdcf8aa8032dad2a86054859dc9e
parentb8cd25fdf2d3659f5b0a47d90240c8ceea481ac9
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