Ramirez Luna, Omar had written, on 01/07/2010 07:00 PM, the following:
From: Hari Kanigeri <h-kanigeri2@xxxxxx>
This patch increases the DMM from 64MB to 256MB.
begs the question: Why?
Signed-off-by: Hari Kanigeri <h-kanigeri2@xxxxxx>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@xxxxxx>
Signed-off-by: Leed Aguilar <leed.aguilar@xxxxxx>
---
arch/arm/plat-omap/include/dspbridge/dmm.h | 2 +-
drivers/dsp/bridge/pmgr/dmm.c | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/plat-omap/include/dspbridge/dmm.h b/arch/arm/plat-omap/include/dspbridge/dmm.h
index 335edf8..af0c35a 100644
--- a/arch/arm/plat-omap/include/dspbridge/dmm.h
+++ b/arch/arm/plat-omap/include/dspbridge/dmm.h
@@ -41,7 +41,7 @@
u32 reserved;
} ;
-#define DMMPOOLSIZE 0x4000000
+#define DMMPOOLSIZE 0x10000000
/*
* ======== DMM_GetHandle ========
diff --git a/drivers/dsp/bridge/pmgr/dmm.c b/drivers/dsp/bridge/pmgr/dmm.c
index 46c05c6..f878855 100644
--- a/drivers/dsp/bridge/pmgr/dmm.c
+++ b/drivers/dsp/bridge/pmgr/dmm.c
@@ -103,10 +103,10 @@ static struct GT_Mask DMM_debugMask = { NULL, NULL }; /* GT trace variable */
static u32 cRefs; /* module reference count */
struct MapPage {
- u32 RegionSize:15;
- u32 MappedSize:15;
- u32 bReserved:1;
- u32 bMapped:1;
+ u64 RegionSize:31;
+ u64 MappedSize:31;
+ u64 bReserved:1;
+ u64 bMapped:1;
};
/* Create the free list */
--
Regards,
Nishanth Menon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html