aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLajos Molnar <molnar@ti.com>2010-12-15 21:47:28 +0530
committerErik Gilling <konkers@android.com>2011-03-30 10:11:31 -0700
commit9ea2f9faef83dc99ace608fc51e268242ae184c8 (patch)
treeb54be16505103000ba6023decc3f4a593cac468e
parent0a744d9476c66214bae619f5e17123934246d3e6 (diff)
downloadexperimental-9ea2f9faef83dc99ace608fc51e268242ae184c8.tar.gz
OMAP/SGX: UDD: Make use of new sched_update() call for DSS2 displays
Have SGX now call the new sched_update() so that it is not blocked on a concurrent update. Change-Id: I18bd9d9f36d077ad0ffc79919d2bb861c1fb5dec Signed-off-by: Lajos Molnar <molnar@ti.com>
-rw-r--r--drivers/gpu/pvr/omaplfb/omaplfb_linux.c17
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);
+
+ }
}