msm: Add new partition for IOMMU video domain
Video hardware requires its firmware address to be lower
than the the other addresses that it accesses. In addition
secure playback requires the end of the firmware address
range to be adjacent to the main memory used by the video
hardware.
Add a new partition and rename partitions to appropriate names
to enforce the order of the memory regions.
Change-Id: I5d35dbab38a4be66eb464fee42e0e844404d5cf7
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
diff --git a/arch/arm/mach-msm/iommu_domains.c b/arch/arm/mach-msm/iommu_domains.c
index c856455..727b729 100644
--- a/arch/arm/mach-msm/iommu_domains.c
+++ b/arch/arm/mach-msm/iommu_domains.c
@@ -103,11 +103,11 @@
case MSM_SUBSYSTEM_VIDEO_FWARE:
return VIDEO_FIRMWARE_POOL;
case MSM_SUBSYSTEM_VIDEO:
- return LOW_256MB_POOL;
+ return VIDEO_MAIN_POOL;
case MSM_SUBSYSTEM_CAMERA:
case MSM_SUBSYSTEM_DISPLAY:
case MSM_SUBSYSTEM_ROTATOR:
- return HIGH_POOL;
+ return GEN_POOL;
default:
return 0xFFFFFFFF;
}