mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-07-08 17:56:32 +00:00
amd-gpu: ringbuffer polling/timestamp buffer alignment fix
According to Qualcomm it can be at a 4-byte boundary, but for using MMU it needs to be at a page boundary
This commit is contained in:
@@ -689,7 +689,7 @@ kgsl_ringbuffer_init(gsl_device_t *device)
|
||||
}
|
||||
|
||||
// allocate memory for polling and timestamps
|
||||
flags = (GSL_MEMFLAGS_ALIGN32 | GSL_MEMFLAGS_CONPHYS);
|
||||
flags = (GSL_MEMFLAGS_ALIGNPAGE | GSL_MEMFLAGS_CONPHYS);
|
||||
KGSL_DEBUG(GSL_DBGFLAGS_DUMPX, flags = GSL_MEMFLAGS_ALIGN32);
|
||||
|
||||
status = kgsl_sharedmem_alloc0(device->id, flags, sizeof(gsl_rbmemptrs_t), &rb->memptrs_desc);
|
||||
|
||||
Reference in New Issue
Block a user