Merge tag 'sunxi-fixes-for-4.3' of https://git.kernel.org/pub/scm/linux/kernel/git...
[linux-drm-fsl-dcu.git] / drivers / staging / android / TODO
1 TODO:
2         - checkpatch.pl cleanups
3         - sparse fixes
4         - rename files to be not so "generic"
5         - add proper arch dependencies as needed
6         - audit userspace interfaces to make sure they are sane
7
8
9 ion/
10  - Remove ION_IOC_SYNC: Flushing for devices should be purely a kernel internal
11    interface on top of dma-buf. flush_for_device needs to be added to dma-buf
12    first.
13  - Remove ION_IOC_CUSTOM: Atm used for cache flushing for cpu access in some
14    vendor trees. Should be replaced with an ioctl on the dma-buf to expose the
15    begin/end_cpu_access hooks to userspace.
16  - Clarify the tricks ion plays with explicitly managing coherency behind the
17    dma api's back (this is absolutely needed for high-perf gpu drivers): Add an
18    explicit coherency management mode to flush_for_device to be used by drivers
19    which want to manage caches themselves and which indicates whether cpu caches
20    need flushing.
21  - With those removed there's probably no use for ION_IOC_IMPORT anymore either
22    since ion would just be the central allocator for shared buffers.
23  - Add dt-binding to expose cma regions as ion heaps, with the rule that any
24    such cma regions must already be used by some device for dma. I.e. ion only
25    exposes existing cma regions and doesn't reserve unecessarily memory when
26    booting a system which doesn't use ion.
27
28 Please send patches to Greg Kroah-Hartman <greg@kroah.com> and Cc:
29 Arve Hjønnevåg <arve@android.com> and Riley Andrews <riandrews@android.com>