msm: display: Set max MDP bandwidths for larger primary resolutions

To avoid underruns for larger primary display resolutions,
set max MDP clock/bandwidths for dynamic boot parameter
cases with HDMI as primary and WUXGA panels

Change-Id: I1e020de0cbd4082edd26d4b03ebee4d4b976c26a
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm: audio: qdsp6v2: Replace PMEM with ION in Audio Decoder drivers

ION is replacement for PMEM which is less complex with better
reference counting. Hence ION which is a superset of PMEM is
used to allocate memory in the audio decoder drivers.

Change-Id: I0c9458b902bad169d6fcc36dfc66d538c00a6e22
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
msm_fb: display: add dmap waiting before turn off timing generator

Wait for dmap done to turn off TG to avoid underruns before base
pipe setup and after constant splash during boot time.

Change-Id: I64bc3935d996af1d2d54db4c11319301ea454ced
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
 msm_fb: display: retrieve correct base layer pipe

Base layer pipe is cloned and cached at satge array.
Retrive the real base layer pipe before used it.

Change-Id: I6fc606559684156348a57b500083ed4089fc71b5
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm: msm7627a: Support ION on 7627a/8625

Deprecate PMEM and start using ION for existing converted
drivers

Change-Id: I86b0336a62573307941625fc0bee16c91cbc9b15
Signed-off-by: Atul Raut <araut@codeaurora.org>
Merge "msm: msm7627a: Support ION on 7627a/8625" into jb_chocolate
msm: board-7627a: Initial bringup changes

Change-Id: I6c526538b012f957177ae9b3207a86e87ef2a695
Signed-off-by: Atul Raut <araut@codeaurora.org>
Merge " msm_fb: display: retrieve correct base layer pipe" into jb_chocolate
Merge "msm: display: Set max MDP bandwidths for larger primary resolutions" into jb_chocolate
msm: sdio_ctl: Update the driver to support poll operation

Poll operation is needed by user-space modules, to select among
multiple file descriptors for read/write operation.

CRs-Fixed: 357121
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
(cherry picked from commit 70bbcbc9b7c41d0f0865065e39677e8e8aaba31b)

Change-Id: I8462f04a86a74f8c95f0a68706f1321581127b5f
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
msm: display: remove the predefined mdp clk rate tables

Mdp clk rate will be calculated during run time based on pipe
requirements, so the tables in board files are not necessary. Only the
max rate which is target specific is passed to display driver.

Change-Id: Ib42d378e5bb4b6876719c2cebefbd9dc9a4cef15
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: mdp clk and bw based on vsync

rebased to vsync patch

Change-Id: I2a11866e2dbe26109bf0eefa50fe778286ca5d0d
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm_fb: display: commit mdp baselayer pipe

When in resume or boot time, baselayer pipes need to be committed for
mdp to play, otherwize underruns and blue screens are seen. The
previous pipe stage up func has this commit which is removed now, so
the commit calls have to be added for the cases where base pipe is
initialized.

Change-Id: I63a7d0ac3fb078b3d7f604eb646a0430326a478c
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
Merge "msm: sdio_ctl: Update the driver to support poll operation" into jb_chocolate
Merge "msm: audio: qdsp6v2: Replace PMEM with ION in Audio Decoder drivers" into jb_chocolate
Bluetooth: hidp: use dest address from session info

While hid device unpair process, we are trying to access released
socket as apart of getting hci device which results a kernel panic.

CRs-fixed: 387164
Signed-off-by: Ram Mohan Korukonda <rkorukon@codeaurora.org>
(cherry picked from commit 27e77d2bda65c96815cb5f785df9ffd7bd733e6a)

Change-Id: Ic4359adf41c3da4effba25856169629787b5f7e0
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Revert "msm: board-7627a: Initial bringup changes"

This reverts commit 2ed7e29cb33cf36af0824acfda64ddd95ea7f436.

Change-Id: I32394fa6a27003c6a1b77e6d1634d5bff23ae80d
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
atmel_maxtouch: Set input property bit to indicate a direct input device

Prop bit is checked in userspace and must be set in
driver in order to be recognized correctly, since it defaults
to mouse pointer.

Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
(cherry picked from commit 5520db2210fcdb1a85fd1f5022e143e2feb8913e)

Change-Id: I5867ee5dd1ba8a3b9f3fac5d976713a409caf6ed
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
Merge "Bluetooth: hidp: use dest address from session info" into jb_chocolate
Merge "atmel_maxtouch: Set input property bit to indicate a direct input device" into jb_chocolate