From: Colin Cross Date: Fri, 13 Dec 2013 22:25:04 +0000 (-0800) Subject: ion: add test device for unit tests to interact with dma_bufs X-Git-Tag: v3.14-rc1~150^2~387 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ceff95d49cc3e28c06c2352e8d94f56046271aeb;p=pandora-kernel.git ion: add test device for unit tests to interact with dma_bufs Add a /dev/ion-test device that will be created if CONFIG_ION_TEST is set. The device accepts a dma_buf fd and allows reading and writing to the backing memory using DMA-like apis or kernel mapping apis. Can be used to test the dma_buf mapping ops, including the ion implementations, from userspace. Signed-off-by: Colin Cross Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed