fix ion_platform_heap to make is use an usual way in board configuration file.
Change-Id: I8686108a9fe0aa2ba9f9c84990d555f947f78f86
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
[lauraa: Fixup msm board files]
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>
Change-Id: I3a1609e57c5156742300706cee698bd6e829c948
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
CPR(Core Power Reduction) is a new h/w block added in 8x25
2.0 revision. This block reduce the power consumption of
SOC using sensors inside the SOC. Add function callbacks to
PM driver to perform disable, enable, save and restore of
CPR context data when the core do an IdlePC.
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
(cherry picked from commit ff723ece018452e722155daa67ff0fdd65cc5c96)
Change-Id: Ideb6300ce1afe9976853e47ab9f1eec2ef22c77e
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
ZSL feature in camera requires more heap size (60 MB)
than usual requirement (18 MB). So, check that if we
have sufficient RAM available and allocate more memory
accordingly.
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
(cherry picked from commit d8413769c6ecac074c10d505cb2f1552c4f15c26)
Change-Id: I01cb01e1e6fa04d3f21eec05f96fe4688d7aebfb
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
CAD(Common Application Devices) support is added on modem.
Add CAD sound device list in board file to support the same.
Change-Id: If794eb077c20f258068569a29664526c8375e70e
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
(cherry picked from commit 1c0fa49d34c2b756b4d47cb473b66b262739b84f)
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
Enabling RTB(Register Trace Buffer) will help in taking RTB logs. RTB
implements uncached logging of particular events (like readl/writel,
printk, hotplug etc). RTB is useful because it provides a
rough indication of the last events that occured on each core prior to
a crash/reset.
Change-Id: I7b26e2c2b8d012028beaa3d1ed36f85603ad411f
Signed-off-by: Utsab Bose <ubose@codeaurora.org>
(cherry picked from commit 9a341175190201c02062d789a79aa789cb7544d9)
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
Add new driver to support AC3/EAC3 playback.
Change-Id: I217d354d80ce1848e1c552416045a31b54a4a994
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
7627a/8625 has outer cache and display and camera uses
outer cache support. So, enable outer_cache_ops for ION
heaps. Enabling ops for individual heaps will be taken
care by msm_ion framework while creating these heaps.
Change-Id: I5c72d5c03853301b879839820ae4caf2c24d2069
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
We are no longer supporting FMEM from MSMs. So, disable
FMEM from 7627a/8625
Change-Id: I557a9a851a21ff1480d76e5115b1b07acdd48483
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
Deprecate PMEM and start using ION for existing converted
drivers
Change-Id: I0ef4c66ce7c32eb886795d1c0829948c3e24c379
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
Increase the size of pmem_adsp region by 1MB to enable
1080p video playback with suspend-resume operation
using neon optimized SW codecs.
Change-Id: I569346b9dccbfa02c2c6fa36753cb552347e924c
CRs-Fixed: 369267
Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Battery capacity calculation is missing boundary checks. This
is causing capacity to be more than 100%, when battery voltage
goes below minimum operating voltage. This inturn is causing
failure to trigger graceful shutdown at low voltages. Fix is
to have the boundary checks in capacity calculation.
CRs-Fixed: 369687
Change-Id: I25e9a09d4d9d0cb03ee38f589d20e5f807e801c9
Signed-off-by: Krishna Vanka <kvanka@codeaurora.org>