Rename some controls for consistent naming. Also use QCOM defined
controls rather than reusing ones intended for other vendors.
Change-Id: I684f31b59a69362dd44cebb7a59a3ef2b78297aa
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
Enable the MM heap on 8960, 8930, and 8064 to use CMA
instead of carved out memory. All allocations will come
from memory reserved as CMA instead of carved out memory.
Change-Id: I6190144564ce263fdad9ec74a85cfefca6089a0d
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
The current check on Ion heaps is too restrictive. It assumes that
all heaps specified with a base address (implying it is a carveout
like heap) must have memory removed with memblock_remove. This is
not a valid assumption. Newer memory managment techniques such
as CMA will not remove memory from the memblock. Ensuring that
memory is properly removed can and should be done elsewhere.
Remove this check entirely.
Change-Id: If2ef1fe2b7f1d3e34c7f48a1a48d2f566d916f93
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Enable the option to turn on the Contiguous Memory Allocator
(CMA) feature. This will allow clients to allocate large chunks
of memory without having to remove it from the system.
Change-Id: Ifc18c34d15f94e5d113d576bc32dbb0cf78f9c49
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
When allocating pages that are intended to be used for
uncached allocations, we need to ensure the cache is coherent;
there may be outstanding data in the cache related to those
pages. Ensure cache coherency by flushing each of the pages.
Change-Id: I4b89c799b5c099f6c050d8ddd758bdb368c07c08
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
On 8960ab we need to assert and deassert the resets to the gfx3d
axi clock in addition to the core and interface clocks. Add the
clock to the list so that we reset the gfx core appropriately.
We also need to halt both bus ports, therefore add the second bus
port id.
Change-Id: I05943906ed124658ab643d9bbce2bbca3f526a78
CRs-Fixed: 428846
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This driver utilizes the ION driver and the SCM module to
allow users to transfer data between the non-secure and secure
environments on the FSM9XXX platform.
Change-Id: I1afcc78e691e46dd11afeceb70a5097c0e979b5c
Acked-by: Jennifer L. Zenner <jzenner@qti.qualcomm.com>
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
The graphics 3d ports need to be separately halted/unhalted.
Facilitate this by mapping to separate external IDs.
Change-Id: I9261996894bee4baf7cf273cc380ca142b82021f
Signed-off-by: Gagan Mac <gmac@codeaurora.org>
This reverts commit f714041949.
Iterating the page free_list without locking it can crash
because the list can change while being iterated.
Iterating the page free_list while locking it can cause a
deadlock.
CRs-fixed: 427061
Change-Id: I9e89b121e7436c8dcac922ad973d8c06a31ce9b0
Signed-off-by: Liam Mark <lmark@codeaurora.org>