msm_fb: display: Use __va instead of ioremap for framebuffer memory map

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: disable fill screen with blank on early suspend

Disable logic to fill framebuffer with black screen before early
suspend, this is causing slugish wipe off from top to bottom
animation on screen.
This logic is still needed for MDP3 because of hardware limitation.

CRs-Fixed: 298050
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: Avoid BTA requests during panel init.

BTA requests may fail during panel initialization if the DSI Client
is not stabilized yet. Hence, avoid them during initialization.

CRs-Fixed: 298789
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: Add MDP 4.2 histogram support for DSI Video

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: increase mdp max burst size

increase mdp dma and pipes max burst size, to avoid mdp underruns
(blue frames shown on display).

Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: Enable H/W vsync in msm7x27a

Enable tearing effect control in msm7x27a using gpio.

CRs-Fixed: 289024
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: Fix vsync GPIO for DSI command mode

Fix vsync GPIO 0 condition check for DSI command mode
to enable Tear check logic

CRs-Fixed: 298596
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: Add mb() before reading MDP histogram data

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: Remove histogram memcpy from MDP Interrupt handler

CRs-Fixed: 300666
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: replace task_tgid_nr with current->pid

rotator session is not be shared by threads with same parent.
Therefore repalce task_tgid_nr(current) with current->pid.

Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: Re-arrange the reference clock enabling.

Reference clock needs to be enabled before DSI PHY Ctrl enabling.

Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm_fb: display: Fix division by zero error in MDP downscale check

Fix division by zero error in MDP downscale validation by rejecting
destination rectangle width and height params with 0

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm-fb: display: back light support for mipi driver

back light control logic is added to mipi driver. it supports
100 levels

Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
msm-fb: display: Fix for the green patch issue in rotation cases

always programming the tile_size register has side affect in
rotation case. the issue is fixed by programming the tile_size
register only in case of tile buffer

Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
Signed-off-by: Ronny Schmatzler <schmatzler@googlemail.com>
Revert "msm_fb: display: Use __va instead of ioremap for framebuffer memory map"

This reverts commit 2c40d780ab9e98119391ef42a0ee405cdf2e7089.
Merge pull request #2 from schmatzler/fbtest

Framebuffer updates