diff options
| author | Jan Kuliga <[email protected]> | 2023-12-18 11:39:38 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2023-12-21 16:21:54 +0000 |
| commit | e5bc76b0e1c54906ca744ed1a7872f4f407d5d2e (patch) | |
| tree | 35a98c5f4050c2f7d71a3158b37baa38cfe32810 /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | dmaengine: xilinx: xdma: Add necessary macro definitions (diff) | |
| download | kernel-e5bc76b0e1c54906ca744ed1a7872f4f407d5d2e.tar.gz kernel-e5bc76b0e1c54906ca744ed1a7872f4f407d5d2e.zip | |
dmaengine: xilinx: xdma: Ease dma_pool alignment requirements
According to the XDMA datasheet (PG195), the address of any descriptor
must be 32 byte aligned. The datasheet also states that a contiguous
block of descriptors must not cross a 4k address boundary. Therefore,
it is possible to ease the pressure put on the dma_pool allocator
just by requiring sufficient alignment and boundary values. Add proper
macro definition and change the values passed into the
dma_pool_create().
Signed-off-by: Jan Kuliga <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
