msm: Remove all references to pmem from audio files

PMEM is no longer supported. Remove all references to it.

Change-Id: If68c41901b8fb0b9382650c3123a68958f769761
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: Remove default y from hw3d driver

The hw3d driver does not cure cancer and we end up with
compile failures when removing deprecated CONFIG_ANDROID_PMEM.
Remove the default y.

Change-Id: I4cf92b199a7575839a5dc99b154bdf6869b30807
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: Remove all references to CONFIG_ANDROID_PMEM

CONFIG_ANDROID_PMEM is completely deprecated. Remove all
references to it.

Change-Id: Ie1f2b08094fffdf308025d43bf4c8c164e52340b
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: camera: Remove references to CONFIG_ANDROID_PMEM

CONFIG_ANDROID_PMEM is completely deprecated. Remove
all references to it.

Change-Id: I5033f51458d71fe8afcda3faa937c3da1ba31900
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: Remove android_pmem.h from board and devices files

CONFIG_ANDROID_PMEM is completely deprecated. Remove all references
to the android pmem header.

Change-Id: Ic68a3af6b9cd01a439a841af26ae6dba09db2911
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
 msm: vidc: Remove all references to CONFIG_ANDROID_PMEM

CONFIG_ANDROID_PMEM is completely deprecated. Remove all
references to it.

Change-Id: I7d5f853f721689f29d41fa380d4b7a99eaaa9595
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: kgsl: Remove all reference to CONFIG_ANDROID_PMEM

CONFIG_ANDROID_PMEM is completely deprecated. Remove all
references to it.

Change-Id: I34039709b0dc6cd5bb96497a8df971f420836023
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: Don't depend on ANDROID_PMEM for contiguous region

The contiguous region is no longer related to PMEM. Remove
the dependency on it.

Change-Id: I92acd634166bfd0fed1a11475f87b1ba8f34e136
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: Remove ANDROID_PMEM from the Kconfig dependencies

The PMEM driver is completely deprecated. Remove any Kconfig
that is still depending on it.

Change-Id: I3386a7eedf34213f2c644372a719ae00c65b0d6d
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
misc: Remove pmem driver completely

PMEM is now completely deprecated in favor of other memory
management schemes. Remove it completely so no one ever tries
to use anything like it again. The header file is purposely
left in the tree for now until userspace applications properly
clean up references to it.

Change-Id: Ie1cd8f15098d4064b1f0f60645d2bd02008c6763
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
sync with caf

Change-Id: I7dc0316f5a5cb555ed348bfff2d19d11739c54d2
msm: display: Do not create release fence in suspend

When in suspend state, display operation will be stopped,
fence will not be signaled

Signed-off-by: Ken Zhang <kenz@codeaurora.org>
msm: display: allow fb open even in suspend state

resume might be coming later, allow fb open sucessfully, only
panel driver needs be delayed

Change-Id: Ic0c8530053d3b1fa321d4b41973721cb235220c2
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
msm: display: panel recovering from suspend

In suspend state, fb_open cannot turn on panel, need save this info
for resume.
In suspend state, blank setting needs be cached to be used at resuming.

Change-Id: Id7d363f774b48df5e3cf2eec00f0f0aedd138c04
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
msm: display: add more checking to ensure display is idle

Before execute operation on display, make sure it is complete idle
Because non-blocking display update has been introduced, need make sure
display update has finished in all entrances except the ones for
initialization.

Change-Id: I0660080262b7e5895f5f558c0a9f71aa84b9aa99
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
msm: display: display idle checking update

msm_fb_blank_sub might be called for UNBLANK from
display update work queue, which is at commit state.
Idle detection is invalid in this situation
Add detection for external snd earlyuspend/resume interface.

Change-Id: Ia12facaeb6f193c44b16926f8b1e60576db20b84
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
msm: display: Increase timeout value for fence waiting

In some benchmark use case, graphic engine is extremely
busy, need increase the fence waiting timeout value.

Change-Id: I3c483f98fa86030b283edd8a79e7b70fa1c06335
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
 msm: display: sync point clean up

Remove unused fence input in mdp_display_commit
structure
Use different timeline name for different fb

Change-Id: I4edd335b36dce057ff3e54302af6088a9cc470ec
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
msm: display: check get_unused_fd_flags return val

Not checking the error code, which might be negative, will cause us to wrongly
reference fdt[fd] by using the error code, causing kernel panic in fd_install.

Change-Id: I1f8e68e74bdbdd5b81bc3450f7d93b5cd96c9439
Signed-off-by: Iliyan Malchev <malchev@google.com>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
msm_fb: display: Consolidate commit ioctls

Overlay commit and display commit were two separate
ioctls doing similar things. This change consolidates
the two into one display commit ioctl. With this, we
can use the RGB0 pipe with an IOMMU framebuffer.

Change-Id: I2b51e16a6678e6cec1bd3e56a00a476addb1296f
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>