staging/ion: decrease gem reference count in release of dma-buf
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 12 Jan 2016 02:03:42 +0000 (11:03 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 13 Jan 2016 01:29:27 +0000 (10:29 +0900)
commit03a9b03a2ab2af40838a105c6fdfdd6091bc8ae1
treec319fc74efae630578aa9f8f644ac76e325e5ffd
parent4be487b3c2e3c9736770ea23ef7db5fe4e979732
staging/ion: decrease gem reference count in release of dma-buf

Gem reference count is increased hen dma-buf is exported, so release
of dma-buf should decrease gem reference count.

Change-Id: Id298ea79aa14908860e5d87527813994dfdb790d
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Rohit kumar <rohit.kr@samsung.com>
drivers/gpu/drm/sprd/sprd_drm_buf.c
drivers/gpu/drm/sprd/sprd_drm_gem.c
drivers/gpu/drm/sprd/sprd_drm_gem.h
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion.h
drivers/staging/android/ion/ion_priv.h