On Fri, Aug 07 2015, Feng Tang wrote: > As I described above, the dummy struct device is only needed for > dma request, its lifetime is align with the cma_heap itself.
Again, this is from perspective of someone who is unfamiliar with ION, but perhaps a viable solution is to bypass DMA API and just call cma_alloc directly? -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michał “mina86” Nazarewicz (o o) ooo +--<m...@google.com>--<xmpp:min...@jabber.org>--ooO--(_)--Ooo-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/