mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-07-08 17:56:32 +00:00
amd-gpu: alignment for MMU page tables should be page-aligned
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user