msm: wfd: Pass proper ion buffer handle to video driver

This change gets ion handle corresponding to output
buffer and passes it to the video driver for ION
kernel mapping.

Change-Id: Ie6783f160029119f0df36f6d4a2e14c737b80edc
CRs-fixed: 508888
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
msm: wfd: Flush encoder after stopping VSG

VSG_STOP's completion is dependent on all buffers being returned back
to VSG. Hence, flush encoder earlier so that the core returns all input
buffers back.

Change-Id: I0324a4c1ec04bc91fef94b11b54c2721dbf73322
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
Revert "msm_fb: display: delay commit video tile frame size register"

This reverts commit 7a71e5fdabb38c2bdfc3da56ea30b38450414714.

Change-Id: I90024840845cc508ea2feace2a5e84e6f9f32e89
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
msm_fb: display: Program TILE video frame size in dma ISR

Since, video tile frame size register is single buffered, its
value takes effect as soon as it is programmed. Single buffered
registers like this should be configured very close to the vsync
to prevent issues like flicker or artifacts.
Program this register in dma ISR to prevent flickers and IOMMU
page faults.

Change-Id: Ifa770e4b4f29d6e4070e51388043422cc60e5872
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
msm: vidc: Use min_dpb from resource tracker in smooth streaming mode

Get min_dpb from resource tracker always if smooth streaming
mode is enabled to handle number of output buffers properly.

Change-Id: Ic46f76061f3895fda44e1d8e94198f898e5edf9b
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
wcnss: Fix config option for WCNSS_MEM_PRE_ALLOC

Change-Id: I373826371a1babc7a971b51abf366d01d4201223
Merge with MK4 kernel source

Change-Id: I67b494555fe4868e0aff1565c7db2f0d435738dd
Disable some driver debug noise

Change-Id: If72280db30d2a969558080449585476ceb22482f
display: melius: Disable creation of power_reduce sysfs node

 * Device doesn't use it, and causes a useless option to
   appear in CM display settings.

Change-Id: I3aedfbe05c01cc5755093233aabfcaf93db3b24a
Add cyanogen_melius_defconfig (Galaxy Mega 6.3)

Change-Id: I363017f9008f1c8f769653681cf2fa666f98996e
melius: fix 4.7 toolchain building

Change-Id: If8292ed63265a5582b5752342c16eccddfc748f3
Update defconfigs

Change-Id: I2cb4af2f3f9bed679c6938fb0780e7c8d33681cb
Fix typo

Change-Id: Iaf0c6690a9eca4f29052686965b0a8744b9bf208