drm/sprd: use prime dma-buf to convert fd and gem handle
authorJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 10 Dec 2015 10:10:52 +0000 (19:10 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 13 Jan 2016 01:29:25 +0000 (10:29 +0900)
commitbb9aede94a482244860963844aaf4acec32e924e
tree490a995617ce31ffd1b7b3473d576652dc0e93fc
parent3dda3cb0ccaf0d66a34a2be31e8f142152755397
drm/sprd: use prime dma-buf to convert fd and gem handle

The sprd drm driver used specific functions to convert fd and gem handle
but they don't support some mechanism of prime dma-buf functions like
reusing of handle exported already, so use prime dma-buf functions.

Change-Id: Ieb591944015bfab0cb15cc21d714f70bffe4b18c
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/gpu/drm/sprd/sprd_drm_drv.c
drivers/gpu/drm/sprd/sprd_drm_gem.c
drivers/gpu/drm/sprd/sprd_drm_gem.h