MLK-11536 video: mxc ipuv3 fb: Fix pan-disp frame drop issue when PRE is enabled
authorLiu Ying <Ying.Liu@freescale.com>
Mon, 14 Sep 2015 05:26:29 +0000 (13:26 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:48 +0000 (14:48 -0500)
commit11c496c177d80896ca4df3d231ffc8282f71e262
tree324b8a5fe79418fdcebcf2a5f8e39dbf70b97a40
parent52a0aeb10de2a6c529e9f867e3e1cebb1c018f86
MLK-11536 video: mxc ipuv3 fb: Fix pan-disp frame drop issue when PRE is enabled

There could be frame drop issue when we do pan display if we update PRE next
buffer address before waiting for the flip completion, because we may hold
the flip completion already and then two continuous pan display operations may
happen quickly within one active period of frame scanning - the first PRE next
buffer address is overriden.  To fix this issue, this patch updates the buffer
address after the flip completion.

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