ioctl command to target the requirement.
Signed-off-by: Zeng Tao
---
drivers/staging/android/ion/ion-ioctl.c | 4
drivers/staging/android/ion/ion.c | 17 +
drivers/staging/android/ion/ion.h | 1 +
drivers/staging/android/uapi/ion.h | 22
media buffer provider, it's
more easier to maintain.
2. Fd is only needed by user processes, not the kernel space, so dma_buf
should be returned instead of fd for kernel space, and dma_buf_fd should
be called only for userspace api.
Signed-off-by: Zeng Tao
---
drivers/staging/android/ion/ion.c
when cma is located in highmem, virt_to_page will not
work the right way, use pfn_to_page instead.
Signed-off-by: Zeng Tao
---
drivers/staging/android/ion/ion_cma_heap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/android/ion/ion_cma_heap.c
b/drivers
Remove the temporary code ion_cma_get_sgtable,
use dma_common_get_sgtable instead
Signed-off-by: Zeng Tao
---
drivers/staging/android/ion/ion_cma_heap.c | 20 +---
1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/drivers/staging/android/ion/ion_cma_heap.c
b/drivers
This issue is introduced by the commit ("ION: Sys_heap:
Add cached pool to spead up cached buffer alloc"), the gfp_mask low
order pool is overlapped by the high order inside the loop, so the
gfp_mask of all pools are set to high_order_gfp_flags.
Signed-off-by: Zeng Tao
---
drive
tag
2. change the flags define based on the comment.
Fixes: e7f63771b60e ("ION: Sys_heap: Add cached pool to spead up cached buffer
alloc")
Signed-off-by: Zeng Tao
---
drivers/staging/android/ion/ion_system_heap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/a