linux_dsm_epyc7002/kernel/dma
Paul Cercueil 0de327969b cma: decrease CMA_ALIGNMENT lower limit to 2
On an embedded system with a tiny (1 MiB) CMA area for video memory, and
a simple enough video pipeline, we can decrease the CMA_ALIGNMENT by a
factor of 2 to avoid wasting memory, as all the allocations for video
buffers will be of the exact same size (dictated by the size of the
screen).

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2020-10-06 07:06:54 +02:00
..
coherent.c dma-mapping: introduce DMA range map, supplanting dma_pfn_offset 2020-09-17 18:43:56 +02:00
contiguous.c mm: cma: use CMA_MAX_NAME to define the length of cma name array 2020-09-01 09:19:43 +02:00
debug.c dma-debug: convert comma to semicolon 2020-09-21 16:48:38 +02:00
direct.c dma-mapping: add a new dma_alloc_pages API 2020-09-25 06:20:47 +02:00
dummy.c dma-mapping: remove the dma_dummy_ops export 2020-09-11 08:13:03 +02:00
Kconfig cma: decrease CMA_ALIGNMENT lower limit to 2 2020-10-06 07:06:54 +02:00
Makefile dma-mapping: move dma_common_{mmap,get_sgtable} out of mapping.c 2020-09-11 09:14:56 +02:00
mapping.c dma-mapping: add new {alloc,free}_noncoherent dma_map_ops methods 2020-09-25 06:20:47 +02:00
ops_helpers.c dma-mapping: add a new dma_alloc_pages API 2020-09-25 06:20:47 +02:00
pool.c dma-direct: remove dma_direct_{alloc,free}_pages 2020-09-11 09:10:29 +02:00
remap.c dma-remap: align the size in dma_common_*_remap() 2020-06-23 14:14:41 +02:00
swiotlb.c dma-direct: rename and cleanup __phys_to_dma 2020-09-11 09:14:43 +02:00
virt.c dma-mapping: add a new dma_alloc_pages API 2020-09-25 06:20:47 +02:00