msm_fb: Import from CAF kk_2.7-stable

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm_fb: disable unsupported footswitch call

Change-Id: I04006e498bb9b9eb17b914a7447bd35629053b07
msm: display: command mode panel release fence

For command mode panel, release fence should be signaled after the buffer is
sent to the panel.  For performance consideration, allow one more commit to be
queued.  Keep the second kick off as short as enough.

Change-Id: I19af075ebf480d3e81b46b1cd2ef21a2893f143e
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>
msm: mdp: Change msmfb kworker to kthread

This worker can be a longer running task depending on the number
of frames queued, hence change it to a thread.

Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Change-Id: Iebf7e95d0486ac43aa6a12d70442936600c0249a
msm: mdp: Update sync pt. behaviour

Add a retire fence and clean up the existing release fence
implementation

Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Change-Id: Iecf7e95d0786ac43aa6a12d70442936600c0249a
msm/mdp: do not crash (unresolved symbol) when building without writeback_panel
msm_fb: msm_dss_io_8x60: Fix compilation

Signed-off-by: Sultanxda <sultanxda@gmail.com>
video: msm: Increase MDP clock multiplier

Raise the multiplier from 1.15 to 2 to fix the underrun.

taken from: http://review.cyanogenmod.org/#/c/32315/1
mdp: Fix regulator for 3.0-kernel footswitch drivers

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm_fb: mdp: Fix compile errors

Signed-off-by: Sultanxda <sultanxda@gmail.com>
mdp4_overlay_lcdc: Set data_en_polarity to 1

Needed for Celox.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
lcdc: Add LD9040 panel power calls

Necessary after implementation of panel undervolt interface.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm_fb: Kconfig: Set default LCD to FB_MSM_LCDC_LD9040_WVGA_PANEL

This prevents useless panel drivers from being built.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm_fb: Port HTC MDP color enhancement feature

Ported from HTC One m7-kk-3.4.10-17db3b.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
msm_fb: Fix vsync init

From Samsung.

Signed-off-by: Sultanxda <sultanxda@gmail.com>