[PATCH RFC 064/111] staging: etnaviv: increase iommu page table size to 512KiB
Lucas Stach
l.stach at pengutronix.de
Thu Apr 2 08:30:06 PDT 2015
From: Russell King <rmk+kernel at arm.linux.org.uk>
Increase the iommu page table size to 512KiB so we can map a maximum of
512MiB of memory. GC600 (at least) seems happy with this change.
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
---
drivers/staging/etnaviv/etnaviv_iommu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/etnaviv/etnaviv_iommu.c b/drivers/staging/etnaviv/etnaviv_iommu.c
index 89bc2ffadf86..327ca703bc65 100644
--- a/drivers/staging/etnaviv/etnaviv_iommu.c
+++ b/drivers/staging/etnaviv/etnaviv_iommu.c
@@ -25,7 +25,7 @@
#include "etnaviv_iommu.h"
#include "state_hi.xml.h"
-#define PT_SIZE SZ_256K
+#define PT_SIZE SZ_512K
#define PT_ENTRIES (PT_SIZE / sizeof(uint32_t))
#define GPU_MEM_START 0x80000000
--
2.1.4
More information about the dri-devel
mailing list