msm_fb: display: Update Toshiba DSI-to-LVDS to support WUXGA panel.

Add 1920x1200 WUXGA panel support to the Toshiba DSI-to-LVDS driver.

Change-Id: I2de71377f83de9847ef6b25b89dc5ae563279d1b
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>

Conflicts:

	drivers/video/msm/mipi_tc358764_dsi2lvds.c
msm: display: Add Data lane swap setting to DSI platform data

Add Data lane swap setting to DSI platform data required for
8930 DSI Novatek driver to distinguish from other targets which
do not require swap control

Change-Id: I613e5207ef8a2c150d9f75a4f34dbec1fb3b4261
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: Read DSI platform's data lane swap for Novatek panel

Read DSI platform's data lane swap setting for Novatek panel and
set it in panel info for programming internal lane control
register

Change-Id: I762ed4a526e205803ff64c8eb92ce7758ab1d946
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>

Conflicts:

	drivers/video/msm/mipi_novatek.c
msm_fb: display: Add write permission for 3D barrier file.

Allow user space application to write to 3D barrier for control.

Change-Id: Ia58597ad3707faa3f2d89de5f53fc77cfd97530a
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: Featurize pm operations for external display

Featurize suspend/resume operation of the external display
to resolve compilation error in cases where external display
features are not defined.

Change-Id: Ifae276f514b67314a22e50fd80237e2168482d3f
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: add mixer2 writeback userspace support

Apps, e.g. fbtest can access mixer2 writeback functionality in
userspace by providing ion writeback buffers.

Change-Id: Ia56ac5275854231f1f28066f78db6dda97bb7b85
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: Add mutex during display turn off

There is a possibility that suspend operation trigger during
a display update. Add mutex to serialize suspend and display update
operations

Change-Id: I52dea1bd718e8c54d894ae3830e86105f951efab
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>

Conflicts:

	drivers/video/msm/mdp_dma_lcdc.c
msm_fb: display: Add Chimei MIPI-DSI WUXGA panel driver.

Add Chimei MIPI-DSI WUXGA (1920x1200) panel driver.

Change-Id: Ie5d55309efa81e237215de4d79b0bc84ce5072ef
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: Fix Chimei WUXGA panel driver for 60 fps.

Fix front porch blanking according to the panel EDID
for 60 frames per seconds.

Change-Id: I3de0a238f5d08e14073a409bfcf2ec20002048b7
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: Add I2C interface to Toshiba DSI-to-LVDS driver.

The Toshiba bridge has both DSI and I2C interfaces.
The DSI interface is used for configuring the bridge registers
during setup.
However, when video is running via the DSI interface
then the I2C interface is used for read/write
the Toshiba bridge registers.

Change-Id: I6e90244948e09710fb9f55f1d828e73e1218e266
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: Initialize work queue for MIPI command mode panels

Initialize workqueue for MIPI command mode panels for s/w refresher
mechanism to work in x-window type architectures.

Change-Id: Id67c54452aa0b02a39f480709fc4bcd6c7bde2eb
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb:display: add display support for mdm platform

add setting for no mdp hw case
add ebi2 epson qvga panel setting

Change-Id: I91b9ef1890a66eb95c14f8a393b89baa757904a5
Signed-off-by: Zhang Chang Ken <kenz@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: remove #if 0

Cleanup all #if 0s in display driver.

Change-Id: I32473b33ad4dff3e5d3d91aae42d70955836cd52
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>

Conflicts:

	drivers/video/msm/mddihosti.c
msm_fb: display: Epson ebi2 panel support

Support fb with ebi2 only(without mdp)
Add Epson ebi2 qvga panel support

Change-Id: If61b2c522a102133f98f27b21dcc18d057b7ef25
Signed-off-by: Zhang Chang Ken <kenz@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: Create hdmi_as_primary node for boot parameter case

Create hdmi_as_primary node for both boot parameter and compile-time
cases when HDMI is set as primary display

Change-Id: Ib170637e3792477e46ae0fb6044b298bf8de875c
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: MSM V4l2 video overlay driver

Provides a V4L2 device that uses the MDP overlay pipes (on MDP4),
or the PPP interface (MDP3) to overlay frames on top of display
framebuffer.

Signed-off-by: Alhad Purnapatre <alhadp@codeaurora.org>
Change-Id: Iab69d0a5acfe993d13cb7a585e292b9a87eb90ee
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/board-msm7x30.c
	drivers/video/msm/mdp.h
	drivers/video/msm/mdp4_overlay.c