summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2012-08-20 13:59:40 +0800
committerLiu Ying <Ying.Liu@freescale.com>2012-08-21 14:23:44 +0800
commit67c2bd5edef363412a074e9b4130b5207dac8a7f (patch)
tree5d6482803d82d55ff7e94701b5548893b45c6b8f /arch/arm/plat-mxc
parent6246a0b6d2621e771584cade1368ef14aac9dd2d (diff)
ENGR00220734 IPUv3 fb:Rewind eof irq sync mechanism back
This patch changes to use original sync mechanism for eof irq, which may improve pan-display or alpha buffer update performance. 1) Initialize flip_completion and alpha_flip_completion only once when fb is initialized instead of initializing it every time when pan display is called. 2) Clear and enable eof irq after selecting buffer ready. In this way, we have no chance to lose an interrupt, as selecting a new buffer ready doesn't make the eof irq come(from the newly selected buffer) before we clear the irq status and enable the irq. Otherwise, if we clear the irq status and enable the irq before we doing down in pan-display or alpha buffer update, we have chance(users call pan-display or alpha buffer update faster than vsync frequency and blocks at down()) to clear an unhandled irq, which may cause performance issue. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc')
0 files changed, 0 insertions, 0 deletions