msm: adsp: Make pmem adsp as cached.
Make pmem adsp region as cached. This change is required to get
H.264 FWVGA 30fps performance through flash application.
The cahed buffers need to be invalidated before accessing them
and need to be flushed after modification.
Signed-off-by: Mahesh Lanka <mlanka@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-msm7x27a.c b/arch/arm/mach-msm/board-msm7x27a.c
index e4f03f3..8cd55cf 100644
--- a/arch/arm/mach-msm/board-msm7x27a.c
+++ b/arch/arm/mach-msm/board-msm7x27a.c
@@ -1514,7 +1514,7 @@
static struct android_pmem_platform_data android_pmem_adsp_pdata = {
.name = "pmem_adsp",
.allocator_type = PMEM_ALLOCATORTYPE_BITMAP,
- .cached = 0,
+ .cached = 1,
.memory_type = MEMTYPE_EBI1,
};