OMAP4: ION: Use the correct virtual TILER size

Fixes the ION TILER HEAP allocation function
to correctly obtain the tiler virtual pages
and size when dealing with non-page aligned
tiler allocations.

Change-Id: I59e05aa26b572ed52b7f7d8c653bc6184f6c274d
Signed-off-by: Atanas (Tony) Zlatinski <zlatinski@gmail.com>
[OMAP4] Add ION Memmanager support

Add a common ION file to initialize the ION memory
spaces for DUCATI, Tiler and large surfaces

Change-Id: I17e608d90c5568bd4be1285cee1976e05192950d
Signed-off-by: Dan Murphy <dmurphy@ti.com>

Conflicts:
	arch/arm/mach-omap2/Makefile
[OMAP4] OMAP4: reduce TILER ion heap to match max tiler size

The size of the tiler carveout should be no larger than the maximum
size of memory (128MB) that can be mapped into the TILER.

Change-Id: I1b6bbef196e424aa1c03f28f560600b1348a63b2
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Andy Gross <andy.gross@ti.com>
omap4: relocate and resize ion carveout memories

The ion secure input heap is moved towards the end of the RAM.
It needs to be preceded by the ducati carveout memory, which is
also increased from 101MB to 103MB. IPC will be using this
additional 2MB for its IO. These changes are done to match the
corresponding memory relocations in the Blaze/Panda board files.

Change-Id: I9b0ab1789f19d39c42819e5c61c74dfe9e60ec06
Signed-off-by: Suman Anna <s-anna@ti.com>
OMAP4: Tablet2: increase ducati carveout by 2MB

The ducati carveout memory is increased by 2MB to accomodate building
additional codecs. The ION platform data addresses have also been
adjusted accordingly.

Change-Id: I0b0660aeddfdfc321d8a27d338fb417dea23ab96
Signed-off-by: Prasanna Kumar M.R. <prasanna.kumarmr@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
omap4: resize ion carveout memories

The ion secure input heap is increased from 30MB to 90MB to support
additional use cases such as video editor. The TILER ION heap has
been decreaed by 32MB, since 32MB of memory is pre-mapped into TILER
page mode, and that memory is coming froma  separate pool. These
changes are done to match the corresponding memory resizes in the
Blaze/Panda/Blaze Table board files.

Change-Id: Ief79f482b2eecdff86f4329b453222b05c4cb425
Signed-off-by: Suman Anna <s-anna@ti.com>
ARM: OMAP4: Add nonsecure TILER carveout

Add a 32MB nonsecure TILER carveout to be used by framebuffer.

Change-Id: I186dd37046ef731e0896e98de7c079b3af038c07
Signed-off-by: Dan Murphy <dmurphy@ti.com>
ARM: Update ION code for commonality

Created a omap4_ion.h so that multiple products can configure
the same ION support

Change-Id: Id6ac1e07f11dec14a66b8b4078a45c1ed66fe7bc
Signed-off-by: Dan Murphy <dmurphy@ti.com>

Conflicts:
	arch/arm/mach-omap2/board-4430sdp.c
	arch/arm/mach-omap2/board-44xx-tablet.c
	arch/arm/mach-omap2/board-omap4panda.c
	include/linux/fastchg.h
	kernel/trace/gpu-traces.c