MLK-22768 video: fbdev: mxc_ipuv3_fb: Handle enabled fg properly when set-par happens...
authorLiu Ying <victor.liu@nxp.com>
Fri, 18 Oct 2019 07:55:23 +0000 (15:55 +0800)
committerLiu Ying <victor.liu@nxp.com>
Mon, 21 Oct 2019 01:38:45 +0000 (09:38 +0800)
commit458ddff37e50ae55502d9b00a032a039199efe73
tree9413da0b2e3eb0b6aea0be9ff8d442f05ea10c78
parent9e9129353eceff8890ce12673821e46e12d6cade
MLK-22768 video: fbdev: mxc_ipuv3_fb: Handle enabled fg properly when set-par happens on bg

When we do set-par for background framebuffer without on-the-fly
flag being set, we should also unset the enabled overlay framebuffer's
on-the-fly flag, otherwise the overlay framebuffer cannot be enabled
again properly because a full mode set procedure is needed for overlay
framebuffer as it experiences a period of time when background
framebuffer stops fetching frames.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
(cherry picked from commit fad9437d99ae234f1c66087d47ad8a547f5f1142)
drivers/video/fbdev/mxc/mxc_ipuv3_fb.c