staging/android: Update ION TODO per LPC discussion
[linux-2.6-block.git] / drivers / staging / android / TODO
CommitLineData
355b0502
GKH
1TODO:
2 - checkpatch.pl cleanups
3 - sparse fixes
4 - rename files to be not so "generic"
217218f0 5 - add proper arch dependencies as needed
355b0502
GKH
6 - audit userspace interfaces to make sure they are sane
7
a6ee5ac1
DV
8
9ion/
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
355b0502 28Please send patches to Greg Kroah-Hartman <greg@kroah.com> and Cc:
f0f621ca 29Arve Hjønnevåg <arve@android.com> and Riley Andrews <riandrews@android.com>