]> asedeno.scripts.mit.edu Git - linux.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)
commitf65a7c9cb3770ed4d3e7c57c66d7032689081b5e
tree45e0e5315020a9b4cd39f1dc1bf5d3d9f9a150da
parent9afe69d5a9495f8b023017e4c328fa717e00f092
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