gpu: ion: Add explicit sync ioctl
authorRebecca Schultz Zavin <rebecca@android.com>
Tue, 26 Jun 2012 20:17:34 +0000 (13:17 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:51 +0000 (13:40 -0700)
commit9197a2d79df72b0bf7084c77085b036c996fb713
tree4388ade89165a9b467df91dedc35410e51221265
parenta3b9e8214adc7a5b0800575c1fe9109e82ce0c85
gpu: ion: Add explicit sync ioctl

This is deprecated in favor of using the dma_buf api which will
automatically sync a buffer to memory when it is mapped to a device.
However, that functionality is not ready, so this patch adds the
ability to sync a buffer explicitly.

Change-Id: Ia15810a13cd5c4b939f4afa5c8e721c89fac76d4
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/gpu/ion/ion.c
include/linux/ion.h