• Phil Edworthy's avatar
    video: sh_mobile_lcdcfb: Fix panning. · 92e1f9a7
    Phil Edworthy authored
    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: default avatarPhil Edworthy <phil.edworthy@renesas.com>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    92e1f9a7
sh_mobile_lcdcfb.c 29.5 KB