video: sh_mobile_lcdcfb: Fix panning.
authorPhil Edworthy <Phil.Edworthy@renesas.com>
Thu, 11 Feb 2010 10:24:25 +0000 (10:24 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 16 Feb 2010 04:30:29 +0000 (13:30 +0900)
commit92e1f9a7ed613b36f3aaf8b04a79e2fd4fa37ec1
tree3e1ac9265c8b7044b99d8473deb25dff577994ec
parent40331b21f5fdb746e80fc609ef60ef71b5cd47d9
video: sh_mobile_lcdcfb: Fix panning.

Fixed SH-Mobile panning. Previously the address of the frame to be displayed
was updated in the VSync end interrupt. This meant there was a minimum of 1
frame bewteen calling FBIOPAN_DISPLAY ioctl and the pan occuring. This meant
that apps were not able to use the FBIO_WAITFORVSYNC ioctl to wait for the
pan to complete. This patch moves the write to LDSA1R mirror reg into the
pan ioctl.  Tested on MS7724 board against 2.6.33-rc7

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_lcdcfb.c