Skip to content

Commit

Permalink
Modify the Vsync loop in dsi overlay, allowing for 100ms to unblank, …
Browse files Browse the repository at this point in the history
…instead of the tiny 8ms allowed by lg, this seems to fix the blank screen of death. been testing for 13 hours and have not had it one time
  • Loading branch information
Dm47021 committed Nov 10, 2014
1 parent 6e342e8 commit 59d263b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/msm/mdp4_overlay_dsi_video.c
Expand Up @@ -355,7 +355,7 @@ void mdp4_dsi_video_wait4vsync(int cndx)

ret = wait_event_timeout(vctrl->wait_queue_internal,
!ktime_equal(timestamp, vctrl->vsync_time),
msecs_to_jiffies(VSYNC_PERIOD * 8));
msecs_to_jiffies(VSYNC_PERIOD * 100));

if (ret <= 0)
pr_err("%s timeout ret=%d", __func__, ret);
Expand Down

0 comments on commit 59d263b

Please sign in to comment.