video: msm: Adding support for MDP4 HSIC controls

Adding support for users to adjust Hue, Saturation, Intensity and
Contrast of the display.

Change-Id: I79cb69c871686ccba115798f635f768b9a50affc
Signed-off-by: Liyuan Li <liyuanl@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: enable border color fill on external display

Enable border color fill feature on external display. This avoids usage
of RGB pipe for background border fill and can now be used as overlay
layer for UI display.

Change-Id: I652ab3ffe2c43260590e4e5a2ffc986340c4a8c0
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
Fix-up
msm_fb: display: fix mdp blending logic

Handle case where blending downscaled VG pipe with alpha channel since
alpha channel will be dropped by MDP hw. Also propagate framebuffer pipe
alpha to top layers only if they are opaque to avoid picking up from
layers which contain alpha.

CRs-Fixed: 326178
Change-Id: I73cfc0716d1f5f8a803a645bdc09b97f909e593d
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: allocate mdp writeback memory

The writeback buffer is already reserved on the board side. This
allocation separate writeback buffer from framebuffer.

Change-Id: I312be3e0dfcf4c5b611cd06cd68d2baae7e2add8
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msmfb: display: clean up of the writeback buffer variables

clean up of the writeback variables to change the write back
allocation for ion support

Change-Id: I4999e43cb2f7111853e9c4a17852b2d5a351204e
Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm-fb: display: ION based allocation for writeback buffers

ION based allocation is added for the writeback support
for content security.

Change-Id: Iaa7ec07a7cbc05c818af6f26a2c42c8c36b9bcb5
Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm: rotator: Add YV12 support in the Rotator

Added changes to support YV12 input format in the Rotator.
Output will be Pseudoplanar in this case.

Change-Id: Ic77ad2b6a3aaa66ad923494fb6c96e07738d674b
Signed-off-by: Pradeep Jilagam <pjilagam@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
include:linux: Adding MSMFB_MDP_PP IOCTL

Add MSMFB_MDP_PP IOCTL and required data structures for new post processing
features

Change-Id: I459a18bbb739f79833901159a19c2c8705147b57
Signed-off-by: Pravin Tamkhane <pravint@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm: wfd: Adds writeback start/stop functionality.

Removes register/unregister calls and replaces them
with start/stop. No need to pre-register the buffers
anymore.

Change-Id: I2f12c3a5791252ad09032cc628d93fb1dc50fee0
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb : Add support for Yamato format

Changes to support Yamato format as a source format.

Change-Id: I334fd059d2a06ea2796eb24f4a69fdb4be4e9789
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>