]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos/decon5433: update shadow registers iff there are active windows
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 9 Jan 2017 14:33:02 +0000 (15:33 +0100)
committerInki Dae <inki.dae@samsung.com>
Fri, 13 Jan 2017 09:01:20 +0000 (18:01 +0900)
commitad4be6ce0e1da547d8b3465bf05927972caae0cc
tree45e0e5315020a9b4cd39f1dc1bf5d3d9f9a150da
parent4795c1461cdcb04ed26b5655903fb6642b99d056
drm/exynos/decon5433: update shadow registers iff there are active windows

Improper usage of DECON_UPDATE register leads to subtle errors.
If it set in decon_commit when there are no active windows it results
in slow registry updates - all subsequent shadow registry updates takes more
than full vblank. On the other side if it is not set when there are
active windows it results in garbage on the screen after suspend/resume of
FB console.

The patch hopefully fixes it.

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