static int dss_mgr_wait_for_vsync(struct omap_overlay_manager *mgr)
{
- unsigned long timeout = msecs_to_jiffies(500);
+ unsigned long timeout = usecs_to_jiffies(16667 * 2);
u32 irq;
int r;
static int dss_mgr_wait_for_go(struct omap_overlay_manager *mgr)
{
- unsigned long timeout = msecs_to_jiffies(500);
+ unsigned long timeout = usecs_to_jiffies(16667 * 2);
struct manager_cache_data *mc;
u32 irq;
int r;
busy = false;
for (i = 0; i < num_mgrs; i++) {
- mgr_busy[i] = dispc_mgr_go_busy(i);
+ /* pandora HACK: if something is running faster than display,
+ * it's ok to lose older frame config. */
+ mgr_busy[i] = false; /*dispc_mgr_go_busy(i);*/
mgr_go[i] = false;
}