video: msm: Remove timeout from wait4vsync

Change-Id: I003b389ab5089025b089978a0861ca1cba10c5f9
Remove sysfs code from pm-8x60.c

Reasoning is similar to the removal in rpm_resources.  Userspace
shouldn't have to manually enable power saving.
Revert wait4vsync changes until panel init sequence is fixed.

Revert "video: msm: Remove timeout from wait4vsync"

This reverts commit 6dfe55a3af0c44409ad821390c577f1d03851e7a.

Revert "msm_fb: display: wait4vsync before set suspend flag"

This reverts commit 0864bf795748aa813100a76b193e940f64934b39.

Revert "msm_fb: display: wait4vsync after timing generator is turned off"

This reverts commit b71c1e01627af6e8fe89a5aaf47f3eb53c2c1d33.

Revert "msm_fb: display: replace msleep with wait4vsync"

This reverts commit 22cfd1533303c943b8cbe8f1f72982764bc4a976.
Revert "Revert wait4vsync changes until panel init sequence is fixed."

This reverts commit 1d80bcf1f512ee3417e89c81072ac81c4a9418ab.
msm_fb: display: release mdp clk in mdp4_overlay_writeback_on()

mdp clk is not released in mdp4_overlay_writeback_on()

CRs-fixed: 433986

Change-Id: Ida121e03b0f08ca312c60fb8d945fe2011df853f
Signed-off-by: Mayank Goyal <goyalm@codeaurora.org>
msm_fb: display: add wfd suspend/resume to early suspend

wfd on/off was handled by fb_on/fb_close which are called from video
or userspace side. However, this is not the case for this branch. mdp
driver has to register wfd for suspend to make sure proper panel
on/off happen.

Change-Id: If1836598e5ae95e4b2b72e40dc85784a0d20c843
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
msm_fb: writeback panel commit should not happen when buffer is NULL

The change handles the NULL buffer case for writeback panel.
It avoids the H/W commit when buffer is NULL and also adds it to
free queue.

CRs-Fixed: 448340
Change-Id: I60f5d343d6de0f96353b081aa113f347c73c61af
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
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>
msm: vidc: Add support for NV21 color format encoding

This change adds NV21 color format encoding support.

CRs-fixed: 448511
Change-Id: If26f1241a006e2d325668b8e189f6ff76df8e125
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
Merge remote-tracking branch 'cm/cm-10.1' into dkp
Merge branch 'dkp' into micro-dkp
Switch to -Ofast, even though it only affects FP math
Merge branch 'dkp' into micro-dkp