gpu: ion: support begin/end and kmap/kunmap dma_buf ops
authorRebecca Schultz Zavin <rebecca@android.com>
Fri, 13 Dec 2013 22:23:42 +0000 (14:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:55:37 +0000 (08:55 -0800)
commit0f34faf89f7e0755c9dad0f96087a76f0df48d26
tree7a3809923477fd8841af1035584a906c8212d1ca
parentb15934b62d959ddc75f7a85fa2a721bea28756b6
gpu: ion: support begin/end and kmap/kunmap dma_buf ops

These ops were added in the 3.4 kernel.  This patch adds support
for them to ion.  Previous ion_map/unmap_kernel api is also
retained in addition to this new api.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c