msm: display: display idle checking update

msm_fb_blank_sub might be called for UNBLANK from
display update work queue, which is at commit state.
Idle detection is invalid in this situation
Add detection for external snd earlyuspend/resume interface.

Change-Id: I1b08d10c9c494b9b3df5e95c4a54036877d5653f
Signed-off-by: Ken Zhang <kenz@codeaurora.org>

Conflicts:

	drivers/video/msm/msm_fb.c
Revert "lge: display: fix video lock-up issues and vsync irq problems"

This reverts commit e95707286903b010d7ebcda8daac92b729d1ae39.
Revert "lge: display: fix the vsync issue in F160 devices"

This reverts commit b5799eabc36fd2283b6b5163065488b5ce02c8d7.
Revert "lge: display: fix for broken display after sysfs mdp_probe patch"

This reverts commit e3d54ed5f8331b37a2fa95684029a0541bcba850.
Revert "msm_fb: display: Create sysfs entries in mdp_probe for MDP4 targets"

This reverts commit 65a4a2b15e33bfb2583d4d1f664dd4ac5cb070ef.

Conflicts:

	drivers/video/msm/mdp4_overlay_dsi_cmd.c
cleanup after a series of reverts
msm: display: reset vsync state when display is turned on

In the case that vsync ctrl is unbalanced, vsync IRQ is cleared
in suspend,  vsync cannot be enabled after resume.
Clear the status when display is turned on

CRs-fixed: 449155
Change-Id: I5ecf23053b60d1fbd91f042758d67d39c83ab444
Signed-off-by: Ken Zhang <kenz@codeaurora.org>

Conflicts:

	drivers/video/msm/mdp4_overlay_dsi_video.c