From 539560474347242dc59fbdb2f8b1067f4010620d Mon Sep 17 00:00:00 2001 From: Matt Sealey Date: Mon, 10 Dec 2012 18:44:06 -0600 Subject: [PATCH] amd-gpu: alignment for MMU page tables should be page-aligned --- drivers/mxc/amd-gpu/gsl_mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mxc/amd-gpu/gsl_mmu.c b/drivers/mxc/amd-gpu/gsl_mmu.c index c5f9c7cc384..0c7f071cb5e 100644 --- a/drivers/mxc/amd-gpu/gsl_mmu.c +++ b/drivers/mxc/amd-gpu/gsl_mmu.c @@ -546,7 +546,7 @@ kgsl_mmu_init(gsl_device_t *device) device->ftbl.device_regwrite(device, gsl_cfg_mmu_reg[devindex].VA_RANGE, (mmu->hwpagetable->va_base | (mmu->hwpagetable->va_range >> 16))); // allocate memory used for completing r/w operations that cannot be mapped by the MMU - flags = (GSL_MEMFLAGS_ALIGN32 | GSL_MEMFLAGS_CONPHYS | GSL_MEMFLAGS_STRICTREQUEST); + flags = (GSL_MEMFLAGS_ALIGN4K | GSL_MEMFLAGS_CONPHYS | GSL_MEMFLAGS_STRICTREQUEST); status = kgsl_sharedmem_alloc0(device->id, flags, 32, &mmu->dummyspace); if (status != GSL_SUCCESS) {