linux/drivers/dma-buf
Jianqun Xu 79c6a1e08b dma-buf: system_heap: adjust orders if swiotlb limit
This patch is useful for board with totalram size larger than 4GB.

Since swiotlb has memory size limitation, this will calculate the
maximum size locally, as a workaround to fix the orders[0].

With this patch:
[    3.921612] orders[0] = 6
[    3.921647] orders[1] = 4
[    3.921715] orders[2] = 0

Change-Id: I9286f6ea53f679816c9afd378a6cfe620ef1b53e
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2021-10-25 16:18:41 +08:00
..
heaps dma-buf: system_heap: adjust orders if swiotlb limit 2021-10-25 16:18:41 +08:00
dma-buf-sysfs-stats.c ANDROID: Delete the DMA-BUF attachment sysfs statistics 2021-07-14 20:52:01 -07:00
dma-buf-sysfs-stats.h ANDROID: Delete the DMA-BUF attachment sysfs statistics 2021-07-14 20:52:01 -07:00
dma-buf.c FROMGIT: dma_buf: remove dmabuf sysfs teardown before release 2021-07-21 02:07:51 +00:00
dma-fence-array.c dma-fence: Propagate errors to dma-fence-array container 2019-08-12 08:25:52 +01:00
dma-fence-chain.c dma-buf: fence-chain: Document missing dma_fence_chain_init() parameter in kerneldoc 2020-09-03 17:47:02 +05:30
dma-fence.c UPSTREAM: dma-fence: allow signaling drivers to set fence timestamp 2021-04-07 14:17:51 +00:00
dma-heap.c ANDROID: Add EXPORT_SYMBOL_GPL for dma_heap_get_name 2021-02-10 19:42:33 +00:00
dma-resv.c dma-buf/dma-resv: Respect num_fences when initializing the shared fence list. 2020-12-30 11:54:26 +01:00
Kconfig dma-buf/sw_sync: build sw-sync as module for gki 2021-09-26 15:46:54 +08:00
Makefile dma-buf/sw_sync: build sw-sync as module for gki 2021-09-26 15:46:54 +08:00
selftest.c dma-buf: Introduce selftesting framework 2019-08-19 18:01:34 +01:00
selftest.h dma-buf: Introduce selftesting framework 2019-08-19 18:01:34 +01:00
selftests.h Merge drm/drm-next into drm-intel-next-queued 2020-06-25 18:05:03 +03:00
seqno-fence.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
st-dma-fence-chain.c dma-buf: fix dma-fence-chain out of order test 2020-07-02 15:21:40 +02:00
st-dma-fence.c dmabuf: Mark up onstack timer for selftests 2019-08-20 13:49:15 +01:00
sw_sync.c dma-buf/sw_sync: sw_sync register as misc devices 2021-07-07 20:53:14 +08:00
sync_debug.c dma-buf/sw_sync: build sw-sync as module for gki 2021-09-26 15:46:54 +08:00
sync_debug.h dma-buf/sw_sync: build sw-sync as module for gki 2021-09-26 15:46:54 +08:00
sync_file.c - A fix for a memory leak in the dma-buf support 2019-12-09 17:13:19 +10:00
sync_trace.h
udmabuf.c drm-misc-next for 5.10: 2020-09-23 09:52:24 +10:00