Revert "msm_fb: display: Create sysfs entries in mdp_probe for MDP3 targets"

This reverts commit 2401151159ed085dac590fc6b673534134dec852.
Revert "msm_fb: display: Create sysfs entries in mdp_probe for MDP4 targets"

This reverts commit ff99bec5ab6bf03cb64095d50e06e2f37e6efa15.
msm_fb: display: add checking y direction for alpha drop

Alpha is dropped when scaling with non repeat pixel method.
Both x and y direction of scaling need to be cehcked for
alpha dropped.

(cherry picked from commit f0d08071a4e97c9018b8e8def498e07720201da8)

Change-Id: I69b8969c878f8422efecea86f93749e0970b77bc
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
msm_fb: Fix blending logic for formats with per-pixel alpha

Currently if a layer with per-pixel alpha (eg. RGBA) is fed
for composition with z-order as zero (FG), per-pixel alpha
blending is applied along with the BG frame present on frame
buffer and hence we see the previous frame on the panel. Hence,
apply constant alpha blending if these formats are fed as FG.

(cherry picked from commit dd10bf1007a50b8b6956a5470ff92a2b4ddf9971)

Change-Id: I973f88c6d0d5ba309028f28cddc29a7ad170056d
CRs-fixed: 405802
CRs-fixed: 435800
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
msm_fb: Disable LCDC/DSI Video timing generator during boot up

Disable LCDC and DSI Video timing generator during MDP
initialization if continuous splash screen is disabled.

Change-Id: I64276550f28e1f316c420f9cb158f7b8e938b8ea
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
vidc:720p: Fix first buffer with EOS flag in video decoder

The video driver is throwing error for erronious header
input buffer with EOS flag enabled. This commit will
fix the error case by amending the EOS handling for the
first buffer.

CRs-fixed: 370048
Change-Id: I8917aa288d6547319e8b1df54e27afd69ab36162
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
vidc: Add secure node support for encoder.

Encoder driver will expose a new node for clients
intending to start a secure encoding session.

Change-Id: I2a104155fd19534a3b3b35e6606d39047f34c42f
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
msm: vidc: fix buffer pool index

While searching for the available buffer entry in the buffer pool the search
should begin from index 1 as zeroth entry is reserved.

Change-Id: I051b0232bb782f073ba9ad0b757a799703814df3
Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>
msm: vidc: error handling for ion_map_iommu calls.

Added a check for non-zero virtual address.
Without this change, when ion_map_iommu returns a
zero virtual address, video core continuous ahead
without error check and later target reset happens
when trying to do a ion_unmap_iommu on the above fd,
which was never mapped.

Signed-off-by: Arun Menon <menon@codeaurora.org>
(cherry picked from commit 8688368ce3afbd1f3a80c7fa688c6a2f467247d3)

Change-Id: Ic6d86cc621e2f524dd19d1677646822cdc0f317c
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
vidc: Free client context in error cases

Video driver should free client context when an error
is encoutered.

Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
(cherry picked from commit 9683019e54e8a8c38b6019b781a9cbdf41b84b29)

Change-Id: I9868afadb01cc63df8e09426a8dd112b08f2bd4e
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
Update defconfigs