drm/exynos/decon5433: set STANDALONE_UPDATE_F also if planes are disabled
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 13 Jan 2017 09:20:58 +0000 (10:20 +0100)
committerInki Dae <inki.dae@samsung.com>
Fri, 13 Jan 2017 09:22:51 +0000 (18:22 +0900)
commit821b40b79db7dedbfe15ab330dfd181e661a533f
treed0718384e2e7981108fbf2a6c1150cb03958b9cd
parentf65a7c9cb3770ed4d3e7c57c66d7032689081b5e
drm/exynos/decon5433: set STANDALONE_UPDATE_F also if planes are disabled

STANDALONE_UPDATE_F should be set if something changed in plane configurations,
including plane disable.
The patch fixes page-faults bugs, caused by decon still using framebuffers
of disabled planes.

v2: fixed clear-bit code (Thx Marek)
v3: use test_and_clear_bit (Thx Joonyoung)

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