summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2012-06-11 05:06:49 +0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-06-27 10:59:51 +0400
commit6cd77e00c00c5da3b6f8546dcb6dfac9611ca10b (patch)
tree3ac8a9dd289153b04be7478ea27f5c149482e614 /drivers/power
parent0f90fa539dff47e65fe859de2a9089e53231e0da (diff)
downloadlinux-6cd77e00c00c5da3b6f8546dcb6dfac9611ca10b.tar.xz
mx3fb: support pan display 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 the custom fb_set_par() method and then calls the custom fb_pan_display() method. Before calling the custom fb_pan_display() method, info->var is already updated from the new *var in fb_set_var(). And, the custom fb_pan_display() method checks if xoffset and yoffset in info->var and the new *var are different before doing actual panning, which prevents the panning from happening within fb_set_var() context. This patch caches the current var info locally in mx3fb driver so that pan display with fb_set_var is supported. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions