staging/ion: Add support to get ion handle from dma buf
authorRohit kumar <rohit.kr@samsung.com>
Tue, 22 Dec 2015 04:14:51 +0000 (09:44 +0530)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 13 Jan 2016 01:29:24 +0000 (10:29 +0900)
commitb45b5db804fe82df4d94cafbb9537aff61139ad6
treed146f1f935f74df0cebd3ecb96288eb0ba95de25
parent340f63c89f45fed1acabf70fe00198e91b4ae276
staging/ion: Add support to get ion handle from dma buf

Currently we can only import dma buf fd's to get ion_handle.
Adding support to import dma buf handles to support kernel
use cases.

Change-Id: I85b6027b6b142e3f91bce51b717e408530d5523c
Signed-off-by: Rohit kumar <rohit.kr@samsung.com>
drivers/staging/android/ion/ion.c
include/linux/ion.h