video: msm: Increase video encoding output buffer size

When bistream buffer size is half of YUV buffer size, video core
may be put into a bad state where output buffers are not returned
back to user space. Increasing the output buffer size solves the issue.

Change-Id: Ie30ec084a764717526c74fc3f89d2684c7020f09
Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>
Fix Framebuffer console Oops

See http://ix.io/8Wl/ (lines 51-191)

This was caused by a race condition where mdp4_dsi_video_pipe_queue may be called before
mdp4_dsi_vsync_init. This can be caused from a request to msm_fb_pan_idle in the msm_fb module
(ex: from fbmem) before the mdp module and console have finish initializing.

It might be possible for a better solution, but this does successfully fix the Oops.
There are still some arfifacts when refreshing the screen (dmesg scrolling or ncurses menus),
so any additional testing and suggestions/patches would be very welcome :)

PS2: Fix whitespace in commit message

Change-Id: I9bd6f5b9cea035fbcb2775ffba2a827eca43f790
Soc: msm: Synchronize access to LPA stream

-Synchronize hw_ptr, appl_ptr access between the LPA
  driver and event handler and the ALSA core framework.

 -ported change from compressed driver
  change id I118bfdf4a866cde05d9ebcd21f756da209b69cc5

CRs-Fixed: 511481

Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
Change-Id: I0fe63d8fa4a5372b6c231a5ee44532140cce1301