diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2012-06-11 09:06:50 +0800 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-06-27 06:59:51 +0000 |
commit | 41a490ec019fd172f5d0356e01d8101b4708aee2 (patch) | |
tree | 2606c9b27ebc79f17446405f362af8035ff0b982 /.gitignore | |
parent | 6cd77e00c00c5da3b6f8546dcb6dfac9611ca10b (diff) | |
download | talos-op-linux-41a490ec019fd172f5d0356e01d8101b4708aee2.tar.gz talos-op-linux-41a490ec019fd172f5d0356e01d8101b4708aee2.zip |
mx3fb: avoid screen flash when panning with fb_set_var
Users may call FBIOPUT_VSCREENINFO ioctrl to do pan display.
This ioctrl relies on fb_set_var() to do the job. fb_set_var()
calls custom fb_set_par() method and then calls custom
fb_pan_display() method. The current implementation of mx3fb
reinitializes IPU display controller every time the custom
fb_set_par() method is called, which makes the screen flash
if fb_set_var() is called to do panning frequently. This patch
compares the new var info with the cached old one to decide
whether we really need to reinitialize IPU display controller.
We ignore xoffset and yoffset update because it doesn't require
to reinitialize the controller. Users may specify activate field
of var info with FB_ACTIVATE_NOW and FB_ACTIVATE_FORCE to
reinialize the controller by force.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions