diff options
Diffstat (limited to 'drivers/gpu/pvr/omaplfb/omaplfb_linux.c')
-rw-r--r-- | drivers/gpu/pvr/omaplfb/omaplfb_linux.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/drivers/gpu/pvr/omaplfb/omaplfb_linux.c b/drivers/gpu/pvr/omaplfb/omaplfb_linux.c index c8172532d6f..e1939f4005a 100644 --- a/drivers/gpu/pvr/omaplfb/omaplfb_linux.c +++ b/drivers/gpu/pvr/omaplfb/omaplfb_linux.c @@ -212,11 +212,18 @@ void OMAPLFBFlip(OMAPLFB_SWAPCHAIN *psSwapChain, unsigned long aPhyAddr) driver = display ? display->driver : NULL; } - if (driver && driver->update && - driver->get_update_mode(display) == - OMAP_DSS_UPDATE_MANUAL) - driver->update(display, 0, 0, overlay_info.width, - overlay_info.height); + if (driver && driver->get_update_mode(display) == + OMAP_DSS_UPDATE_MANUAL) { + if (driver->sched_update) + driver->sched_update(display, 0, 0, + overlay_info.width, + overlay_info.height); + else if (driver->update) + driver->update(display, 0, 0, + overlay_info.width, + overlay_info.height); + + } } |