amd-gpu: alignment for MMU page tables should be page-aligned

This commit is contained in:
Matt Sealey
2012-12-10 18:44:06 -06:00
parent 3b58ae2463
commit 5395604743

View File

@@ -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)
{