forked from luck/tmp_suning_uos_patched
msm_fb: Fix framebuffer console
Don't allow non panning updates to bypass the wait for the panel to turn on. Signed-off-by: Carl Vanderlip <carlv@codeaurora.org> Signed-off-by: Arve Hjønnevåg <arve@android.com> Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:
parent
a8d380f30a
commit
5d55779a5d
|
@ -219,8 +219,8 @@ static void msmfb_pan_update(struct fb_info *info, uint32_t left, uint32_t top,
|
|||
|
||||
sleeping = msmfb->sleeping;
|
||||
/* on a full update, if the last frame has not completed, wait for it */
|
||||
if (pan_display && (msmfb->frame_requested != msmfb->frame_done ||
|
||||
sleeping == UPDATING)) {
|
||||
if ((pan_display && msmfb->frame_requested != msmfb->frame_done) ||
|
||||
sleeping == UPDATING) {
|
||||
int ret;
|
||||
spin_unlock_irqrestore(&msmfb->update_lock, irq_flags);
|
||||
ret = wait_event_interruptible_timeout(msmfb->frame_wq,
|
||||
|
|
Loading…
Reference in New Issue
Block a user