devices-xxxx : ION check for video driver.
Add variable to check if ion heaps are avaliable for these targets
7x30,8660,8960, If ion heap is avaliable then allocate the memory
from ion heap else use the pmem heap.
Change-Id: I7811d70ec48bc89c61bfd92d1d6b9762facd2455
Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-msm7x30.c b/arch/arm/mach-msm/devices-msm7x30.c
index b76a844..2a39e3c 100644
--- a/arch/arm/mach-msm/devices-msm7x30.c
+++ b/arch/arm/mach-msm/devices-msm7x30.c
@@ -789,7 +789,8 @@
};
struct msm_vidc_platform_data vidc_platform_data = {
- .memtype = MEMTYPE_EBI0
+ .memtype = MEMTYPE_EBI0,
+ .enable_ion = 0
};
struct platform_device msm_device_vidc_720p = {